anybody can clearly define to me what is pseudo and why we use it? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

anybody can clearly define to me what is pseudo and why we use it?

6th Oct 2016, 7:24 AM
Ishtiaq Hussain
Ishtiaq Hussain - avatar
2 Respostas
+ 2
Let's say you have a class C. This class C is applied to an "a" element (or a "div", or whatever). That element can be is several states. The most commonly used state is the hover state, when the user mouse is above the element. You can style such states, for example you invert the text and background color, or you underline the text for example, This is when "a.C:hover" can be used used in the css. The ":hover" is the pseudo class, which can be combined with the regular css class definition as before.. Look here for more: http://www.w3schools.com/Css/css_pseudo_classes.asp
6th Oct 2016, 7:31 AM
ZoltĆ”n Zƶrgő
ZoltĆ”n Zƶrgő - avatar
0
ohh! thnx a lot.
6th Oct 2016, 7:36 AM
Ishtiaq Hussain
Ishtiaq Hussain - avatar