Open zannain opened 6 years ago
When a class attribute is not going to be used more than once, then an id attribute is the way to go. This helps ensure that unique styles are not being overridden since they are the most specific of CSS selectors available to you.
class
id
When a
class
attribute is not going to be used more than once, then anid
attribute is the way to go. This helps ensure that unique styles are not being overridden since they are the most specific of CSS selectors available to you.