DEV Community

Discussion on: Reasons not to use IDs in CSS

Collapse
 
perpetual_education profile image
perpetual . education

We like to keep classes for style, ids for #links, and rel for the occasional JS selector. To each their own, and at some super high level there may be reasons to hyper-optimize - but for teaching especially, this really helps keep things extremely clear and readable.