3 ms·
By following this principle you're moving presentation rules to the HTML. Taken to it's extreme this would mean .red { color:red; } These techniques becam
by ricardobeat 15y ago
By following this principle you're moving presentation rules to the HTML. Taken to it's extreme this would mean
.red { color:red; }
These techniques became relevant because they make your CSS leaner, speed up development and result in more maintainable code. But compression + high bandwidth along with systems like LESS/SASS make this effort moot: you can have the same benefits while still keeping most of presentation separate from content.