纯css布局实现留声机播放动画
代码语言:html
所属分类:动画
代码描述:纯css布局实现留声机播放动画
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
body{
  background: #333642;
}
.turntable{
  position: relative;
  margin: auto;
  display: block;
  margin-top: 8%;
  margin-bottom: 8%;
  width: 310px;
  height:280px;
  background: #9CD8BD;
  border-radius: 5%;
  box-shadow: inset 0 0 10px rgba(255,255,255,0.7);
}
.record {
  position: absolute;
  left: 35px;
  top: 35px;
  width: 200px;
  height: 200px;
  background: black;
  border-radius: 50%;
  -webkit-animation: spin 1s infinite linear;
          animation: spin 1s infinite linear;
}
@-webkit-keyframes spin {
  0% {
    -webkit-transform: none;
            transform: none;
  }
  
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
@keyframes spin {
  0% {
    -webk.........完整代码请登录后点击上方下载按钮下载查看
















			
			
				
			
	
网友评论0