Reading Notes for Codefellows!
.clearfix:after {
content: ".";
visibility: hidden;
display: block;
height: 0;
clear: both;
}
Clearing Context - Fixing Floated Parent height with floated Children
.grid:after {
content: "";
display: table;
clear: both;
}
Gutters - Set gutters to fixed pixel sizes to keep design more stable
*, *:after, *:before {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
CSS Floats Explained By Riding An Escalator
Scalable and Modular Architecture for CSS
SMACSS (pronounced “smacks”) is more style guide than rigid framework. There is no library within here for you to download or install. There is no git repository for you to clone. SMACSS is a way to examine your design process and as a way to fit those rigid frameworks into a flexible thought process. It is an attempt to document a consistent approach to site development when using CSS. And really, who isn’t building a site with CSS these days?!