what is the meaning of pseudo | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

what is the meaning of pseudo

1st Oct 2016, 11:10 AM
Alok Kumar
Alok Kumar - avatar
2 Answers
+ 8
A pseudo-class is used to define a special state of an element. For example, it can be used to: Style an element when a user mouses over it Style visited and unvisited links differently Style an element when it gets focus. The syntax of pseudo-classes: selector:pseudo-class { property:value; } example: a:hover { color:red } in the example above the link will change its color to red when a mouse over it.
1st Oct 2016, 7:03 PM
Mohammed Chetehouna
0
thnx
2nd Oct 2016, 4:09 AM
Alok Kumar
Alok Kumar - avatar