Hacker News new | ask | show | jobs
by sourcecodeplz 1178 days ago
The "trick" is to employ progressive enhancements.

Also, the less CSS, the better. + no shame in using !important sometimes.

All in all, CSS requires experience

2 comments

!important is like global variables

Sure they have their place, but goddamnit do some people abuse them and make huge messes with them :(

Better off repeating classnames (.foo.foo { color: pink; }) than using !important.