Answers

Question and Answer:

  Home  Cascading Style Sheet CSS

⟩ How To Use IDs to Override Classes in CSS?

Class is a nice way to separate a group of tag instances. To identify one or two special instances, you can use the ID attributes and ID selectors. In the CSS example below, the ID selector "P#hot" wins over all other selectors, so the third row in the table will be in red:

 141 views

More Questions for you: