16 CSS Lessons via Post-it® Notes

Kaylan
Prototypr
Published in
4 min readFeb 3, 2016

--

  1. Cascading Style Sheets Operate on Inheritance

CSS has a ancestor-descendant relationships. Anything previously defined by an ancestor will automatically be inherited by one of its children unless otherwise specified.

2. Last Wins

If an element is defined in more than one place within CSS, the last definition overrides the previous. (If these stickies…

--

--