Four simple rules for writing clean CSS.
Avoid global and element selectors
Omit overly specific selectors
Use semantic class names
Don’t tie CSS too closely to markup structure
Seems like good advice.
Tagged with: css guides opinion web development
Note: Please be excellent (this is not YouTube and I reserve the right not to publish comments from muppets.) Your email address will not be published. Required fields are marked *