zoukankan      html  css  js  c++  java
  • 20绿色

    <!DOCTYPE html>
    <html>
    	<head>
    		<meta charset="utf-8">
    		<title>页面20</title>
    		<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no" />
    		<style>
    			*{
    				margin: 0;
    				padding: 0;
    			}
    			html,body{
    				 100%;
    				height: 100%;
    			}
    			.bg{
    				background: linear-gradient(to bottom,#c7efce,#e0f6cf);
    			}
    			.loadingBox{
    				 100%;
    				height: 100%;
    			}
    			.loadingBox>div{
    				position: absolute;
    				box-sizing: border-box;
    			}
    			.loadingBox>div:first-child{
    				border-left: 5px solid #b0cfb8;
    				border-right: 5px solid #b0cfb8;
    				left: 10px;
    				top: 0px;
    				 calc(100% - 20px);
    				height: 100%;
    			}
    			.loadingBox>div:nth-child(2){
    				border-left: 10px solid #b0cfb8;
    				border-right: 10px solid #b0cfb8;
    				left: 20px;
    				top: 0px;
    				 calc(100% - 40px);
    				height: 100%;
    			}
    			.loadingBox>div:nth-child(3){
    				border-left: 5px solid #b0cfb8;
    				border-right: 5px solid #b0cfb8;
    				left: 35px;
    				top: 0px;
    				 calc(100% - 70px);
    				height: 100%;
    			}
    			.loadingBox>div:nth-child(4){
    				border-left: 3px solid #b0cfb8;
    				border-right: 3px solid #b0cfb8;
    				left: 0px;
    				top: 10px;
    				height: calc(100% - 20px);
    				 100%;
    			}
    			.loadingBox>div:nth-child(5){
    				border-left: 3px solid #b0cfb8;
    				border-right: 3px solid #b0cfb8;
    				left: 0px;
    				top: 20px;
    				height: calc(100% - 40px);
    				 100%;
    			}
    		</style>
    	</head>
    	<body class="bg">
    		<div class="loadingBox">
    			<div></div>
    			<div></div>
    			<div></div>
    			<div></div>
    			<div></div>
    		</div>
    	</body>
    </html>
    

      

  • 相关阅读:
    HDU 1269 迷宫城堡
    HDU 4771 Stealing Harry Potter's Precious
    HDU 4772 Zhuge Liang's Password
    HDU 1690 Bus System
    HDU 2112 HDU Today
    HDU 1385 Minimum Transport Cost
    HDU 1596 find the safest road
    HDU 2680 Choose the best route
    HDU 2066 一个人的旅行
    AssetBundle管理机制(下)
  • 原文地址:https://www.cnblogs.com/21doctor-sun/p/14046040.html
Copyright © 2011-2022 走看看