+ 1

How can do hover off in css?

When the mouse leave

17th Apr 2019, 9:56 AM
hanan alhinai
hanan alhinai - avatar
5 ответов
+ 9
hanan alhinai you're welcome
23rd Apr 2019, 7:19 PM
Javier Felipe Toribio
Javier Felipe Toribio - avatar
+ 8
When the mouse leave or, it's not on the element, the version without hover is considered. In this example, when mouse leaves text changes its background color from yellow to red: p { background-color:red; } p:hover { background-color:yellow; }
17th Apr 2019, 3:34 PM
Javier Felipe Toribio
Javier Felipe Toribio - avatar
+ 2
p:onmousehoverover / p:onmouseover is the only podsible way i think
17th Apr 2019, 11:44 PM
I‘m Sarah🌹
I‘m Sarah🌹 - avatar
23rd Apr 2019, 11:44 AM
hanan alhinai
hanan alhinai - avatar
0
I‘m Sarah🌹 thank you
23rd Apr 2019, 11:43 AM
hanan alhinai
hanan alhinai - avatar