Three Ways to Attach CSS, and When Each Is Right
External, internal and inline styles. One of them is the answer almost always, and knowing why the other two exist is what tells you when to break the...
Linking stylesheets, classes and ids, selectors, layout hooks and responsive basics.
5 notes
External, internal and inline styles. One of them is the answer almost always, and knowing why the other two exist is what tells you when to break the...
Two ways to name an element, with different rules and different jobs. Choosing correctly makes a stylesheet maintainable and stops the specificity war...
The structure you write decides which selectors are available. Attribute selectors, sibling combinators and structural pseudo classes can replace a su...
Grid and flexbox changed what markup a layout needs. Fewer wrappers, source order that matches reading order, and the reorder trap that breaks keyboar...
The viewport tag, flexible images, relative units and the mobile first habit. Half of responsive design is decided before a single media query is writ...