HTML部分:
css部分:
.f1 { width: 0px; height: 0px; margin: 100px auto; transform: rotate(0); border: 50px solid transparent; border-top: 50px solid black; transition: all linear 0.5s; }
.f1:hover { transform: rotate(180deg);}
HTML部分:
css部分:
.f1 { width: 0px; height: 0px; margin: 100px auto; transform: rotate(0); border: 50px solid transparent; border-top: 50px solid black; transition: all linear 0.5s; }
.f1:hover { transform: rotate(180deg);}