三维圆圈旋转球体动画效果代码

代码语言:html

所属分类:动画

代码描述:三维圆圈旋转球体动画效果代码

代码标签: 球体 动画 效果

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开


<!DOCTYPE html>
<html lang="en" >

<head>

  <meta charset="UTF-8">
  

  
  
<style>
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body {
  background: #191919;
  overflow: hidden;
}

.ringu-container {
  -webkit-perspective: 1000;
          perspective: 1000;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.ringu-container, .ringu-container .ringu {
  width: 600px;
  height: 600px;
}

.ringu {
  display: block;
  border: 10px solid rgba(24, 220, 24, 0.6);
  border-radius: 50%;
  position: absolute;
  z-index: 90;
}
.ringu:nth-child(2) {
  z-index: 80;
}

.msg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-family: consolas, courier, mono-space;
  color: rgba(24, 220, 24, 0.6);
  text-transform: uppercase;
  font-size: 1em;
  text-align: center;
  padding: 1em;
}

@media screen and (max-width: 600px) {
  .ringu-container, .ringu-container .ringu {
    width: 270px;
    height: 270px;
  }
}
</styl.........完整代码请登录后点击上方下载按钮下载查看

网友评论0