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:
The syntax to define a pseudo-class is as follows:
element:pseudo-class{property:value;}
pseudo-classes in CSS are given as follows:
- Dynamic
- Target
- language
- User Interface(UI) element states
- Structural
- Negation
No comments:
Post a Comment