CSS Transforms and Transitions
CSS transforms and transitions allow you to apply smooth and animated transformations to elements. Here's an example:
.box {
width: 100px;
height: 100px;
background-color: blue;
transition: transform 0.3s ease;
}
.box:hover {
transform: rotate(45deg);
}
No comments:
Post a Comment