0

what is the meaning of pseudo

1st Oct 2016, 11:10 AM
Alok Kumar
Alok Kumar - avatar
2 odpowiedzi
+ 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