How TO - Transition on Hover

Clash Royale CLAN TAG#URR8PPP <!--
main_leaderboard, all: [728,90][970,90][320,50][468,60]-->
How TO - Transition on Hover
❮ Previous
Next ❯
Learn how to add transition on hover with CSS.
Transition on Hover
CSS transitions allows you to change property values smoothly (from one value to another), over a given duration.
Add a transition effect (opacity and background color) to a
button on hover:
Example
Fade in on hover:
Try it Yourself »
Example
Fade background on hover:
Try it Yourself »
Go to our CSS Transition Tutorial to learn more about transitions.
❮ Previous
Next ❯