4 ms·
There are better ways to manage CSS bloat. See Nicole Sullivan's Object-Oriented CSS approach: https://github.com/stubbornella/oocss/wiki https://github.com/st
by bill-nordwall 16y ago
There are better ways to manage CSS bloat.
See Nicole Sullivan's Object-Oriented CSS approach: https://github.com/stubbornella/oocss/wiki https://github.com/stubbornella/oocss/wiki
- haydenchambers 16y agothis is a disaster OOCSS should only be applied VERY sparingly otherwise you fall into the trap of over simplifying classes and end up with what is essentially inline styles. There is, practically speaking, no difference between: style="width:200px;color:red;font-weight:bold;font-style:italics" and class="w200 c1 fw2 fs2" (from a maintenance POV)