3 ms·
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
by z3t4 7y 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.