/
Use Namespaces for CSS
Use Namespaces for CSS
We have found as a team that following the design pattern of prefix namespaces to our CSS was a huge help making it easy for the whole team to understand our CSS usage.
Named prefixes for CSS help prevent a lot of unintended breakage - when page A uses a CSS class which is an English word like say “button” then it becomes easy for another developer at another time to use the same class name and inadvertently break the code in another spot that they are not focused on.
, multiple selections available,
Related content
Separate concerns with CSS rules
Separate concerns with CSS rules
More like this
Don't use half thought out features like nav tags, button tags.
Don't use half thought out features like nav tags, button tags.
Read with this
Simple CSS selectors - keep it flat and target classes only
Simple CSS selectors - keep it flat and target classes only
More like this
Link tags <a href="...">
Link tags <a href="...">
Read with this
How do we deal with web technology?
How do we deal with web technology?
More like this
Heading and Paragraph tags
Heading and Paragraph tags
Read with this