• 每日日报2021.4.28


    今天完成内容:

    学习web css 可视化大屏css

    *{
    margin:0;
    padding:0;
    box-sizing:border-box;
    }
    li{
    list-style: none;
    }
    @font-face {
    font-family: electronicFont;
    src: url("font/DS-DIGIT.TTF");
    }
    @keyframes rotate1 {
    from{
    transform: translate(-50%,-50%) rotate(0deg);
    }
    to{
    transform:translate(-50%,-50%) rotate(360deg);
    }
    }
    @keyframes rotate2 {
    from{
    transform: translate(-50%,-50%) rotate(0deg);
    }
    to{
    transform:translate(-50%,-50%) rotate(-360deg);
    }
    }


    body{
    background: url("images/bg.jpg")
    no-repeat top center;
    line-height: 1.15;
    }

    header {
    position: relative;
    height: 1.25rem;
    background: url("images/head.png") no-repeat;
    background-size: 100% 100%;
    }
    header h1 {
    font-size: 0.475rem;
    color: #fff;
    text-align: center;
    line-height: 1rem;
    }
    header .showTime{
    position: absolute;
    right: 0.375rem;
    top:0;
    line-height: 0.9375rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.25rem;

    }

    .mainbox{
    display: flex;
    min- 1024px;
    max- 1920px;
    margin: 0 auto;
    padding: 0.125rem 0.125rem 0;
    }
    .mainbox .column{
    flex: 3;
    }
    .column:nth-child(2) {
    flex: 5;
    margin: 0.125rem 0.1875rem;
    }
    .mainbox .panel{
    position: relative;
    height: 3.875rem;
    padding: 0 0.1875rem 0.5rem;
    border: 1px solid rgba(25,186,139,0.17);
    margin-bottom: 0.1875rem;
    background: url("images/line.png") rgba(255,255,255,0.03);
    }
    .panel:before{
    position: absolute;
    top: 0;
    left: 0;
    10px;
    height: 10px;
    border-left: 2px solid #02a6b5;
    border-top:2px solid #02a6b5;
    content: "";
    }
    .panel:after{
    position: absolute;
    top: 0;
    right: 0;
    10px;
    height: 10px;
    border-right: 2px solid #02a6b5;
    border-top:2px solid #02a6b5;
    content: "";
    }
    .panel .footer{
    position: absolute;
    bottom: 0;
    left: 0;
    100%;
    }
    .footer:before{
    position: absolute;
    right: 0;
    bottom: 0;
    10px;
    height: 10px;
    border-right: 2px solid #02a6b5;
    border-bottom:2px solid #02a6b5;
    content: "";
    }
    .footer:after{
    position: absolute;
    bottom: 0;
    left: 0;
    10px;
    height: 10px;
    border-bottom: 2px solid #02a6b5;
    border-left:2px solid #02a6b5;
    content: "";
    }
    .panel h2{
    height: 0.6rem;
    color: #fff;
    line-height: 0.6rem;
    text-align: center;
    font-size: 0.25rem;
    font-weight: 400;
    }
    .panel .chart{
    height: 3rem;
    background-color: pink;
    }

    .mainbox .no{
    background-color: rgba(101,132,226,0.1);
    padding: 0.1875rem;
    }

    .no .nohd{
    position: relative;
    border: 1px solid rgba(25,186,139,17);
    }
    .nohd ul{
    display: flex;
    }
    .nohd ul li{
    position: relative;
    flex: 1;
    line-height: 1rem;
    font-size: 0.875rem;
    color: #ffeb7b;
    text-align: center;
    font-family: 'electronicFont';
    }
    .nohd:before{
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    30px;
    height: 10px;
    border-top: 2px solid #02a6b5;
    border-left: 2px solid #02a6b5;
    }
    .nohd:after{
    position: absolute;
    bottom: 0;
    right: 0;
    content: "";
    30px;
    height: 10px;
    border-right: 2px solid #02a6b5;
    border-bottom: 2px solid #02a6b5;
    }
    .nohd ul li:before{
    content: "";
    right: 0;
    position: absolute;
    top: 25%;
    height: 50%;
    1px;
    background: rgba(255,255,255,0.2);
    }

    .no .nobd ul{
    display: flex;
    }
    .nobd ul li{
    flex: 1;
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.255rem;
    height: 0.5rem;
    line-height: 0.5rem;
    padding-top: 0.125rem;
    }

    .map{
    position: relative;
    height: 10.125rem;
    }
    .map .map1{
    6.475rem;
    height: 6.475rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: url("images/map.png");
    opacity: 30%;
    background-size: 100% 100%;
    }
    .map .map2{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    8.0375rem;
    height: 8.0375rem;
    background: url("images/lbx.png");
    animation: rotate1 15s linear infinite;
    background-size: 100% 100%;
    opacity: 40%;
    }
    .map .map3{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    566px;
    height: 566px;
    background: url("images/jt.png");
    animation: rotate2 10s linear infinite;
    background-size: 100% 100%;
    opacity: 60%;
    }
    .map .chart{

    }

    看视频

    遇到问题:

    明日目标:

    学习web端的开发

    学习css

  • 相关阅读:
    多重背包
    摘花生
    完全背包问题
    01背包问题
    数字金字塔
    ES6 Object.assign()的用法
    umi---className设置多个样式
    npm 安装yarn
    html引入其他html的几种方式
    react打包去掉map文件
  • 原文地址:https://www.cnblogs.com/leiyu1905/p/14912680.html
Copyright © 2020-2023  润新知