Hacker News new | ask | show | jobs
by z3t4 2251 days ago
I always write the specificity in the same order as the cascade. Could probably write a tool that compares the specificity vs the cascade to find errors!

There is however a small problem if you want to use many CSS files - that you need to link them in the correct order.

edit: Also I don't use ID's in CSS.