react实现液态液体流动数值统计仪表盘效果代码

代码语言:html

所属分类:其他

代码描述:react实现液态液体流动数值统计仪表盘效果代码

代码标签: react 液态 液体 流动 数值 统计 仪表盘

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

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

<head>
    <meta charset="UTF-8">

<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/reset.min.css">
<style>
    @import 'https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700';
body {
  background: #02C39A;
  font-family: "Open Sans", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

#container {
  margin: 50px;
  background: #FEFFF7;
  height: 500px;
  width: calc(100vw - 100px);
  overflow: hidden;
  position: relative;
  padding: 50px;
  box-sizing: border-box;
  box-shadow: 0 -10px 10px -10px rgba(18, 18, 18, 0.25);
}
@media screen and (max-width: 780px) {
  #container {
    height: 90vh;
  }
}
@media screen and (max-width: 480px) {
  #container {
    margin: 20px;
    width: calc(100vw - 40px);
    height: 96vh;
    padding: 20px;
  }
}

.title {
  color: #05668D;
  font-size: 60px;
  font-weight: 100;
}
@media screen and (max-width: 780px) {
  .title {
    font-size: 48px;
  }
}
@media screen and (max-width: 480px) {
  .title {
    font-size: 30px;
  }
}

.graphs {
  position: absolute;
  bottom: 212px;
  -webkit-animation: graph 30s infinite linear;
          animation: graph 30s infinite linear;
  opacity: 1;
}
@media screen and (max-width: 480px) {
  .graphs {
    opacity: 0.2;
  }
}

@-webkit-keyframes graph {
  0% {
    left: -1px;
  }
  100% {
    left: -2601px;
  }
}

@keyframes graph .........完整代码请登录后点击上方下载按钮下载查看

网友评论0