
Shobha
The best way to predict the future is to invent it
How do you use the transition property in CSS?
The transition property adds smooth animation between property changes, such as color or position.
For example,
.box { transition: background-color 0.5s ease; }
.box:hover { background-color: lightblue; }
For example,
.box { transition: background-color 0.5s ease; }
.box:hover { background-color: lightblue; }