We should all start styling using type selectors and not class. We should start from the lower layer (type) and then go for attributes and class selection, and if we need it, ending with ID's.
Why using a .p {} class when we can use the lower selecto p {} and let users extend/override our style with attributes or classes?
We should all start styling using type selectors and not class. We should start from the lower layer (type) and then go for attributes and class selection, and if we need it, ending with ID's.
Why using a .p {} class when we can use the lower selecto p {} and let users extend/override our style with attributes or classes?
I feel it the same.
A little example: