DEV Community

Discussion on: Stop using so many divs! An intro to semantic HTML

Collapse
 
snydez profile image
snydez

wow! so later the css use directly the tag instead of the class?

Collapse
 
kenbellows profile image
Ken Bellows

Yeah! IMHO, it's better to use more generic selectors in your CSS as often as you can, because it makes them easier to override later. Being too specific with selectors is what leads people to slapping !important everywhere, because they're having a hard time overriding those super-specific selectors.