html - Add class with :hover using CSS -
this question has answer here:
- assigning classes elements through css 3 answers
i first cant use javascript.
so question this: want able add class element when mouse hovers it. cant add styles :hover cause many.
i use animate.css in page. there tons of effects, , example want add class "fadeinup" when user hovers element in page. doing javascript trivial, how css? possible add class when :hover?
very simply, no.
assuming got correctly, want add class.
not possible.
if wanted however, copy css code need on animate.css
file mentioned, , apply on pseudo-class :hover
.
there isn't way css manipulate classes , ids directly, other pseudo-classes.
hope helped!
Comments
Post a Comment