码迷,mamicode.com
首页 > 移动开发 > 详细

手机端头部返回

时间:2017-07-18 23:06:55      阅读:358      评论:0      收藏:0      [点我收藏+]

标签:float   body   content   type   vbox   htm   splay   doctype   width   

<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8" />
<title></title>
<style type="text/css">
html{margin: 0;padding: 0;}
.box{display:table;}
.box span{display:table-cell;vertical-align:middle;}
.img{margin: 0;padding: 0;}
.clearfloat:after{display:block;clear:both;content:"";visibility:hidden;height:0;}
.clearfloat{zoom:1;}
.fl{float: left;}
.fr{float: right;}
.bigboxdv{background-color: #ecedf1;border-bottom: 1px solid red;}
.img-tui{width: 50px;height: 80px; vertical-align:middle;}
.img-tel{width: 80px; height: 80px;}
.img-ren{width: 80px; height: 80px;}
.dvbox1{width: 30%;}
.dvbox2{width: 40%;}
.dvbox3{width: 30%;}
.zwen{text-align: center;display: block;font-size: 4rem;}
</style>
</head>

<body>
<div class="bigboxdv clearfloat">
<div class="fl dvbox1 box">
<span>
<img class="img-tui" src="img/ind1_03.png" />
</span>
</div>
<div class="fl dvbox2">

<span class="zwen zhongzaixian">在线</span>
</div>
<div class="fl dvbox3 clearfloat box">
<span>
<img class="img-ren fr" src="img/ind1_07.png" />
<img class="img-tel fr" src="img/ind1_05.png" />
</span>

</div>

</div>
</body>

</html>

手机端头部返回

标签:float   body   content   type   vbox   htm   splay   doctype   width   

原文地址:http://www.cnblogs.com/nns4/p/7203230.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!