re: Reasons not to use IDs in CSS VIEW POST

VIEW FULL DISCUSSION
 

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?

code of conduct - report abuse