<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<script src="/Scripts/jquery-1.10.2.min.js"></script> <link rel="stylesheet" href="">
<style>
*{
padding:0;
margin:0;
font: 24px/24px "Microsoft Yahei";
color:white;
}
body{
background:#202020;
}
.main{
width: 1520px;
height:900px;
background:#06192A;
margin:0 auto;
border:2px solid white;
}
.main header{
height: 150px;
border-bottom:2px solid #637382;
}
.main header h1{
text-align:center;
font-weight:bolder;
position: relative;
bottom:0;
padding-top: 104px;
}
.main section{
/*width:1296px;*/
height:500px;
margin:0 auto;
} .main section .title{
display:inline-block;
height:30px;
line-height:30px;
padding-top:20px;
width: 100%;
} .main section b.radio,.main section b.radio:before{
display:block;
position: relative;
}
.main section b.radio{
width:16px;
height:16px;
border-radius:8px;
background:white;
margin-left:2px; float:right;
margin-right:68px;
} .main section b.green:before,.main section b.red:before,.main section b.yellow:before{
width:12px;
height: 12px;
content:"";
border-radius:6px;
top:2px;
left:2px;
} .main section b.green:before{
background:#008F40;
} .main section b.red:before{
background:#D10F12;
} .main section b.yellow:before{
background:#F4A700;
} .main section b.green:after,.main section b.red:after,.main section b.yellow:after{
display:block;
width:40px;
font-size:20px;
position: relative;
top:-17px;
left:-47px;
} .main section .title b.green:after{
content:"运行";
}
.main section .title b.red:after{
content:"故障";
}
.main section .title b.yellow:after{
content:"报警";
} .content{
display:inline-block;
position: relative;
width: 100%;
height: 100%;
} .content .bg b{
position: absolute !important;
margin-right:15px !important;
} .content .s1{
background-image:url(images/hospital/s1.png);
width:368.4px;
height: 412.8px;
} .content .s1 .arrow{
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-ms-transform: rotate(90deg);
-o-transform: rotate(90deg);
transform: rotate(90deg);
top: 92px;
left: 57px;
} .content .s1 b{
bottom: 24px;
right: 70px;
} .content .s2{
background-image:url(images/hospital/s2.png);
width: 250.2px;
height: 208.2px;
left: 380px;
top: 216px;
} .content .s2 b,.content .s3 b,.content .s4 b{
bottom: 35px;
right: 35px;
} .content .s3{
background-image:url(images/hospital/s3.png);
width: 250.2px;
height: 208.2px;
left: 680px;
top: 216px;
} .content .s4{
background-image:url(images/hospital/s4.png);
width: 250.2px;
height: 208.2px;
left: 980px;
top: 216px;
} .content .s5{
background-image:url(images/hospital/s5.png);
width: 202.15px;
height: 113.75px;
left: 1270px;
top: 300px;
} .content .s5 span{
font-size:20px;
position: relative;
left: 80px;
} .content .arrow{
background-image:url(images/hospital/arrow.png);
width:53.1px;
height: 23.4px;
zoom:2 !important;
top: -8px;
left:1px;
} .content .f1{
background-image:url(images/hospital/f1.png);
width: 171.6px;
height: 163.8px;
top: 33px;
left: 416px;
} .content .f1 b{
bottom:53px;
left:-24px;
} .content .f1 b:after{
content:"余氮值";
width: 60px !important;
left:-21px !important;
top: -40px !important;
} .content .f2{
background-image:url(images/hospital/f2.png);
width: 250.2px;
height: 208.2px;
top: 0;
left: 680px;
} .content .t1{
background-image:url(images/hospital/f1.png);
width: 171.6px;
height: 163.8px;
top: 530px;
left: 416px;
} .content .t2{
background-image:url(images/hospital/t2.png);
width: 182px;
height: 140.25px;
top: 530px;
left: 701px;
} .content .t2 b{
right: -16px;
top: 65px;
} .pt92{
top:92px !important;
} .content .bg{
background-repeat: no-repeat;
background-position:center center;
background-size: cover;
-webkit-background-size: cover;/* 兼容Webkit内核浏览器如Chrome和Safari */
-o-background-size: cover;/* 兼容Opera */
zoom: 1;
position: absolute;
z-index: 2;
} .pr48{
right:48px !important;
}
.pb33{
bottom:33px !important;
}
.pr12{
right:12px !important;
}
.pb44{
bottom:44px !important;
} .content .gw{
content:"";
height: 7px;
border-top:1px solid #83868C;
border-bottom:1px solid #83868C;
position: absolute; background:#06192A;
} .content .f1-f2{
left: 544px;
top: 135px;
width:693px;
} .content div.full{
background:#B3B3B6;
/*height:inherit;
width:inherit;*/
} .content .gw div.full{
width:0;
height:inherit;
} .content .gh div.full{
height:0;
width:inherit;
} .lTor{
-webkit-transition: all 0.5s linear;
-moz-transition: all 0.5s linear;
-ms-transition: all 0.5s linear;
-o-transition: all 0.5s linear;
transition: all 0.5s linear; -webkit-animation: lToR 2s ease infinite;
-o-animation: lToR 2s ease infinite;
animation: lToR 2s ease infinite;
} .content .f1-f2 .a1 span{
display: inline-block;
font-size: 20px;
position: relative;
top: -26px;
left: -10px;
width: 60px;
} .content .f1-f2 .arrow{
left: 330px;
top: -13.5px;
} .content .f1-f2 .arrow span{
font-size:10px;
left: 40px;
top: -3px;
position: relative;
} .content .a1{
background-image:url(images/hospital/a1.png);
width: 36.4px;
height: 30.8px;
top: -15px;
left: 55px;
} .content .a1 b{
bottom:-20px;
left:-4px;
} .pr20{
left:23px !important;
} .content .gh{
content:"";
width: 7px;
border-left:1px solid #83868C;
border-right:1px solid #83868C;
position: absolute; background:#06192A;
} .content .f2-s3{
left: 790px;
top: 135px;
height:150px;
} .tTod{
-webkit-transition: all 0.5s linear;
-moz-transition: all 0.5s linear;
-ms-transition: all 0.5s linear;
-o-transition: all 0.5s linear;
transition: all 0.5s linear; -webkit-animation: tTod 2s ease infinite;
-o-animation: tTod 2s ease infinite;
animation: tTod 2s ease infinite;
} .content .s2-s5{
left: 300px;
top: 347px;
width:1050px;
} .content .s2-t1{
left: 495px;
top: 355px;
height: 125px;
} .content .s2-t1-wl{
left: 468px;
top: 480px;
width: 32px; -webkit-transform: rotateY(-180deg);
-moz-transform: rotateY(-180deg);
-ms-transform: rotateY(-180deg);
-o-transform: rotateY(-180deg);
transform: rotateY(-180deg);
} .content .s2-t1-wr{
left: 500px;
top: 480px;
width: 32px;
} .content .s2-t1-dl{
left: 468px;
top: 480px;
height:125px;
} .content .s2-t1-dl .a1{
left: -16px;
top: 40px;
} .content .s2-t1-dl .a1 b.green{
left: -25px;
top: -8px;
} .content .s2-t1-dl .a1 b.red{
left: -25px;
top: 20px;
} .content .s2-t1-dr{
left: 523px;
top: 480px;
height:125px;
} .content .s2-t1-dr .a1{
left: -16px;
top: 40px;
} .content .s2-t1-dr .a1 b.green{
left: 40px;
top: -8px;
} .content .s2-t1-dr .a1 b.red{
left: 40px;
top: 20px;
} .content .s3-t2{
top: 363px;
width:5px;
height:125px;
} .st-1{left: 733px;}
.st-2{left: 773px;}
.st-3{left: 813px;}
.st-4{left: 853px;} .s3-t2-wl{
left: 733px;
top: 480px;
width: 63.5px;
} .s3-t2-wr{
left: 797px;
top: 480px;
width: 63.5px; -webkit-transform: rotateY(-180deg);
-moz-transform: rotateY(-180deg);
-ms-transform: rotateY(-180deg);
-o-transform: rotateY(-180deg);
transform: rotateY(-180deg);
} .s3-t2-d{
left: 792px;
top: 481px;
height: 125px;
} .a2{
background-image:url("images/hospital/a2.jpg");
width: 23px;
height: 19px;
display: inline-block;
position: absolute;
top: 57px;
left: -8px;
} .a2:before{
font-size:20px;
position: relative;
left: -12px;
top: -4px;
} .st-1 .a2:before{
content:"1";
} .st-2 .a2:before{
content:"2";
} .st-3 .a2:before{
content:"3";
} .st-4 .a2:before{
content:"4";
} .st-4 .a2:after{
content:"电磁阀";
font-size:20px;
position: absolute;
left: 26px;
top: -4px;
width: 60px;
} .s3-t2 b{
margin-right:0 !important;
position: absolute !important;
top: 80px;
left: -7px;
} .arr{
position: absolute;
} .arr img{
width: 106.2px;
height: 46.8px;
} .s1 .arr{
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-ms-transform: rotate(90deg);
-o-transform: rotate(90deg);
transform: rotate(90deg); left: calc(50% - 70px);
top: calc(50% - 25px);
} .s5 .arr{
top:-16px;
} .content .f1-f2 .arr{
right: -72px;
top: -27px;
} .content .f1-f2 .arr span{
font-size:20px;
left: 80px;
top: 15px;
position: absolute;
width: 80px;
} /**/
.content .s2-t1-wl,.content .s2-t1-wl .full,
.content .s2-t1-wr,.content .s2-t1-wr .full,
.content .s2-t1-dr,.content .s2-t1-dr .full{
border-radius: 0 10px 0 0;
}
.content .s2-t1-dl,.content .s2-t1-dl .full{
border-radius:10px 0 0 0;
}
.content .st-1,.content .st-1 .full,
.content .s3-t2-wl,.content .s3-t2-wl .full,
.content .s3-t2-wr,.content .s3-t2-wr .full{
border-radius: 0 0 0 10px;
}
.content .st-4,.content .st-4 .full{
border-radius: 0 0 10px 0;
} @-webkit-keyframes lToR{
0% {width:0;}
100% {width:100%;}
} @-moz-keyframes lToR{
0% {width:0;}
100% {width:100%;}
} @-o-keyframes lToR{
0% {width:0;}
100% {width:100%;}
} @keyframes lToR{
0% {width:0;}
100% {width:100%;}
} @-webkit-keyframes tTod{
0% {height:0;}
100% {height:100%;}
} @-moz-keyframes tTod{
0% {height:0;}
100% {height:100%;}
} @-o-keyframes tTod{
0% {height:0;}
100% {height:100%;}
} @keyframes tTod{
0% {height:0;}
100% {height:100%;}
} .count{
position: absolute;
top: -38px;
right: 60px;
} .count span {
position: absolute;
left: -65px;
top: 3px;
font-size: 20px;
} .count ul{
height: 30px;
color: #ddd;
font-family: Consolas, monaco, monospace;
background:#000009;
margin:0 1px !important;
text-align:center;
list-style: none;
} .count ul li{
font-size: 20px;
width:18px;
height:26px;
margin-top:2px;
background:#1A2730;
/*font-weight:lighter;*/
float:left;
margin-left:1px;
}
</style>
</head>
<body>
<div class="main">
<header>
<h1>污水处理系统</h1>
</header>
<section>
<div class="title">
<b class="radio yellow"></b>
<b class="radio red"></b>
<b class="radio green"></b>
</div>
<div class="content">
<div class="f1 bg">
<b class="radio yellow"></b>
</div>
<div class="f2 bg">
</div>
<div class="s1 bg">
<!-- <div class="arrow bg"></div> -->
<div class="arr">
<img src="data:images/hospital/arrow.png" alt="">
</div>
<b class="radio red pr48 pb33"></b>
<b class="radio green"></b>
</div>
<div class="s2 bg">
<b class="radio red pr12 pb44"></b>
<b class="radio green"></b>
</div>
<div class="s3 bg">
<b class="radio red pr12 pb44"></b>
<b class="radio green"></b>
</div>
<div class="s4 bg">
<b class="radio red pr12 pb44"></b>
<b class="radio green"></b>
</div>
<div class="s5 bg">
<!-- <div class="arrow bg"></div> -->
<div class="arr">
<img src="data:images/hospital/arrow.png" alt="">
</div>
<span>环卫车外运</span>
</div>
<div class="t1 bg">
</div>
<div class="t2 bg">
<b class="radio red pt92"></b>
<b class="radio green"></b>
</div>
<div class="gw f1-f2">
<div class="full"></div>
<!-- <div class="arrow bg">
<span>达标排外</span>
</div> -->
<div class="arr">
<img src="data:images/hospital/arrow.png" alt="">
<span>达标排外</span>
</div> <div class="count">
<span>总流量</span>
<ul>
<li>0</li>
<li>4</li>
<li>3</li>
<li>5</li>
<li>0</li>
<li>.</li>
<li>4</li>
<li>6</li>
<li>1</li>
</ul>
</div> <div class="a1 bg">
<span>加药泵</span>
<b class="radio red pr20"></b>
<b class="radio green"></b>
</div>
</div>
<div class="gh f2-s3">
<div class="full"></div>
</div>
<div class="gw s2-s5">
<div class="full"></div>
</div>
<!-- 多个一组 -->
<div class="gh s2-t1">
<div class="full"></div>
</div>
<div class="gw s2-t1-wl">
<div class="full"></div>
</div>
<div class="gw s2-t1-wr">
<div class="full"></div>
</div>
<div class="gh s2-t1-dl">
<div class="full"></div>
<div class="a1 bg">
<b class="radio red"></b>
<b class="radio green"></b>
</div>
</div>
<div class="gh s2-t1-dr">
<div class="full"></div>
<div class="a1 bg">
<b class="radio red"></b>
<b class="radio green"></b>
</div>
</div>
<!-- 多个一组 -->
<div class="gh s3-t2 st-1">
<div class="full"></div>
<span class="a2"></span>
<b class="radio green"></b>
</div>
<div class="gh s3-t2 st-2">
<div class="full"></div>
<span class="a2"></span>
<b class="radio green"></b>
</div>
<div class="gh s3-t2 st-3">
<div class="full"></div>
<span class="a2"></span>
<b class="radio green"></b>
</div>
<div class="gh s3-t2 st-4">
<div class="full"></div>
<span class="a2"></span>
<b class="radio green"></b>
</div>
<div class="gw s3-t2-wl">
<div class="full"></div>
</div>
<div class="gw s3-t2-wr">
<div class="full"></div>
</div>
<div class="gh s3-t2-d">
<div class="full"></div>
</div>
</div>
</section>
</div>
</body>
<script>
$(function(){
var count = 0;
//*
var a = setInterval(function(){
$(".f1-f2").find(".full").animate({
width: "100%"
},2000, function() {
}); $(".f2-s3").find(".full").delay("500").animate({
height: "100%"
},500, function() {
}); var c = $(".s2-s5").find(".full");
if(!c.is(":animated")){
$(".s2-s5").find(".full").animate({
width: "100%"
},2500, function() {
if(count == 6){
clearInterval(a);
return;
} $(".f1-f2").find(".full").css("width",0);
$(".s2-s5").find(".full").css("width",0);
$(".s2-t1-wl,.s2-t1-wr").find(".full").css("width",0);
$(".s3-t2-wl,.s3-t2-wr").find(".full").css("width",0); $(".f2-s3").find(".full").css("height",0);
$(".s2-t1").find(".full").css("height",0);
$(".s2-t1-dl,.s2-t1-dr").find(".full").css("height",0);
$(".s3-t2").find(".full").css("height",0);
$(".s3-t2-d").find(".full").css("height",0); count += 1;
});
} $(".s2-t1").find(".full").delay(500).animate({
height: "100%"
},500, function() {
}); $(".s2-t1-wl,.s2-t1-wr").find(".full").delay(1000).animate({
width: "100%"
},100, function() {
});
$(".s2-t1-dl,.s2-t1-dr").find(".full").delay(1100).animate({
height: "100%"
},500, function() {
}); $(".s3-t2").find(".full").delay(1000).animate({
height: "100%"
},500, function() { }); $(".s3-t2-wl,.s3-t2-wr").find(".full").delay(1500).animate({
width: "100%"
},200, function() { }); $(".s3-t2-d").find(".full").delay(1700).animate({
height: "100%"
},500,function(){ });
}, 3000);
//*/
});
</script>
</html>

HTML+CSS 实现水流流动效果的更多相关文章

  1. 基于HTML5实现3D监控应用流动效果

    http://www.hightopo.com/guide/guide/core/lighting/examples/example_flowing.html 流动效果在3D领域有着广泛的应用场景,如 ...

  2. HT for Web中3D流动效果的实现与应用

    流动效果在3D领域有着广泛的应用场景,如上图中医学领域可通过3D的流动直观的观察人体血液的流动,燃气领域可用于监控管道内流动的液体或气体的流向.流速和温度等指标. 如今企业数据中心机房普遍面临着设备散 ...

  3. 原生JS、CSS实现的转盘效果(目前仅支持webkit)

    这是一个原生JS.CSS实现的转盘效果(题目在这:http://www.cnblogs.com/arfeizhang/p/turntable.html),花了半个小时左右,准备睡觉,所以先贴一段代码, ...

  4. 实用js+css多级树形展开效果导航菜单

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/ ...

  5. js+css实现带缓冲效果右键弹出菜单

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/ ...

  6. 如何使用CSS实现小三角形效果

    如何使用CSS实现小三角形效果:建议:尽可能的手写代码,可以有效的提高学习效率和深度.在众多的网页效果中,都有小三角形效果的应用,能够增加特定应用的美观度,下面就给出一段实例代码,里面介绍了两种实现小 ...

  7. CSS 实现图片灰度效果 兼容各种浏览器

    CSS 实现图片灰度效果 兼容各种浏览器如360浏览器 CSS实现图片灰度效果就是通过CSS样式让彩色图片呈现为灰色,相当于把一张图像的颜色模式调整为灰度,CSS可以通过以下几种方法来实现灰度效果. ...

  8. CSS实现两端对齐效果

    CSS实现两端对齐效果 两端对齐,从概念上来说,其实不难理解.如果不明白什么叫两端对齐,可以玩玩word等办公软件. 下面谈谈如何实现文本的两端对齐.我所知道的大概有以下几种方法 text-align ...

  9. 不可思议的纯 CSS 实现鼠标跟随效果

    直接进入正题,鼠标跟随,顾名思义,就是元素会跟随着鼠标的移动而作出相应的运动.大概类似于这样: 通常而言,CSS 负责表现,JavaScript 负责行为.而鼠标跟随这种效果属于行为,要实现通常都需要 ...

随机推荐

  1. oracle的substr和replace

    //我个人做的是更新表中某个字段下的所有内容带有中文括号的信息变为英文括号,具体做法如下 update 表名 set 列名 =replace(要修改的字段名,要替换掉的内容,要替换上去的新内容) su ...

  2. js写的替换字符串(相当于js操作字符串的一个练习)

    1.达到的效果 1./main_1.do,/left_1.do -> main:1,left:1 2./tbl_type/v_list_{id}.do -> tbl_type:list:{ ...

  3. Selenium IDE 工具总结

    基本介绍: Selenium工具专门为WEB应用程序编写的一个验收测试工具. Selenium的核心:browser bot,是用JavaScript编写的. Selenium工具有4种:Seleni ...

  4. The plot Function in matlab

    from http://pundit.pratt.duke.edu/wiki/MATLAB:Plotting The plot Function The plot function is used t ...

  5. sunlime text 3 快捷键总结

    Ctrl+D 选中光标所占的文本,继续操作则会选中下一个相同的文本. Alt+F3 选中文本按下快捷键,即可一次性选择全部的相同文本进行同时编辑.举个栗子:快速选中并更改所有相同的变量名.函数名等. ...

  6. Spark 1.3.0 单机安装

    一.试验环境: CentOS6.6 最小化安装:主机名spark-test,IP:10.10.10.26 OpenStack虚拟云主机. 注:安装流程:进入linux->安装JDK->安装 ...

  7. JS 之如何在插入元素时插在原有元素的前面而不是末尾

    语法: 父级.insertBefore(新元素,被插入的元素):          //在指定的元素前面加入一个新元素 父级.insertBefore(新元素,父级.children[0]); //在 ...

  8. nodejs小问题:[1]express不是内部或外部命令

    nodejs小问题:[1]express不是内部或外部命令 浏览:9424 | 更新:2015-08-28 05:31 1 2 3 4 5 6 7 分步阅读 一时兴起想学习点东西,准备在heroku上 ...

  9. CESAsia:英特尔RealSense3D实感技术亮眼

    每年CES展会上都会有许多新奇的.更具创意的产品和创新技术亮相,而作为全球科技盛会之一的CES Asia也不例外.在CES Asia2016展会上,英特尔(Intel)可谓是有备而来,带着旗下支持Re ...

  10. leetcode第一刷_Count and Say

    水题. 描写叙述的还挺麻烦的,实际上就是纸老虎,用两个string,一个存上一轮的结果,一个用来更新出这一轮的结果,每次扫描上一轮,统计一个字符出现的次数,然后把这个次数和字符增加到这一轮的字符串中就 ...