TAG
CSS
Result
Run
License
<div class="target">Rollover me</div>
.target { border: 2px solid #FF0000; position: absolute; left: calc((100vw - 100px) / 2); top: calc((100vh - 100px) / 2); width: 100px; height: 100px; line-height: 100px; text-align: center; transition: 1s; } .target:hover { rotate: 45deg; }
Console
expand_less
License
License
by DevDic
Close