Please guy little help here. How can i style hover to be active when cursor point at it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Please guy little help here. How can i style hover to be active when cursor point at it?

27th Mar 2020, 7:46 PM
blackfugee
blackfugee - avatar
3 Answers
+ 1
Use pseudo classes like this p:hover{ color: red; } https://code.sololearn.com/Wvgj0On1FKO8/?ref=app
27th Mar 2020, 7:55 PM
Ore
Ore - avatar
+ 1
Consider if your styling a paragraph element, <style> p:hover{ background-color;#fty; } </style> Try this will help you,
27th Mar 2020, 7:56 PM
Gouse Basha
Gouse Basha - avatar
+ 1
Thanks very much
27th Mar 2020, 8:01 PM
blackfugee
blackfugee - avatar