Loading...
xxxxxxxxxx
<div class="box transition"></div>
xxxxxxxxxx
.transition {
transition: all .2s ease-out;
transition: all .2s ease-out;
transition: all .2s ease-out;
transition: all .2s ease-out;
}
.box {
width: 100px;
height: 100px;
background: red;
margin-top: 20px;
margin-left: auto;
margin-right: auto;
}
.box:hover {
background-color: green;
cursor: pointer;
}
xxxxxxxxxx
Comments (0)