CSS hover | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

CSS hover

How can I add multiple color when user hover btn?

26th Apr 2019, 7:36 AM
Aya Habeeb
Aya Habeeb - avatar
6 Answers
+ 3
animate @keyframes
26th Apr 2019, 10:52 AM
Gordon
Gordon - avatar
26th Apr 2019, 8:33 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
0
Aymane Boukrouh No, I mean the color will change when the user hover. solid color not gradient, look here : https://www.tumblr.com , try to hover the logo in the top of the page
26th Apr 2019, 9:25 AM
Aya Habeeb
Aya Habeeb - avatar
0
I misunderstood your question. You can simply do that with :hover your_element:hover { //your code }
26th Apr 2019, 9:26 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
26th Apr 2019, 10:37 AM
Aya Habeeb
Aya Habeeb - avatar
0
Gordon thank youu
26th Apr 2019, 11:25 AM
Aya Habeeb
Aya Habeeb - avatar