Monday, 9 October 2017

Pseudo-Classes Available in CSS

The Pseudo-classes are used to add special effects to the selectors, such as changing the color of visited links. The selectors are the name given to different styles. A pseudo-class always starts with a colon (:).

The syntax to define a pseudo-class is as follows:

element:pseudo-class{property:value;} 

pseudo-classes in CSS are given as follows:

  1. Dynamic
  2. Target
  3. language
  4. User Interface(UI) element states
  5. Structural
  6. Negation

No comments:

Post a Comment