css3转盘

此效果涉及到 :css

1. css 画图形html

2. css3 动态效果css3

3. 贝塞尔曲线 用法spa

<style>
.lds-hourglass {
display: inline-block;
position: relative;
width: 72px;
height: 72px
}3d

.lds-hourglass:after {
content: " ";
display: block;
border-radius: 50%;
width: 0;
height: 0;
margin: 6px;
box-sizing: border-box;
border: 36px solid #ff8686;
border-color: #ffabab transparent #35999e;
animation: lds-hourglass 1.2s infinite
}orm

@keyframes lds-hourglass {
0% {
transform: rotate(0);
animation-timing-function: cubic-bezier(.55,.055,.675,.19)
}htm

50% {
transform: rotate(900deg);
animation-timing-function: cubic-bezier(.215,.61,.355,1)
}blog

100% {
transform: rotate(1800deg)
}
}
</style>get

<div class="lds-hourglass"></div>animation

 

 

扩展:3d转换

贝塞尔曲线扫盲

相关文章
相关标签/搜索