标签:select 16px doctype size format java relative email html
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
<meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
<title>Hello APP</title>
<link rel="stylesheet" type="text/css" href="../css/api.css" />
<style>
header{
position: relative;
width:100%;
height: 50px;
background-color: #FF6666;
}
header .left{
position: absolute;
bottom: 0;
left:0;
width:100px;
height: 50px;
}
header .left .city{
position: absolute;
bottom: -15px;
left:12px;
width:100px;
height: 50px;
}
header h1{
position: relative;
height: 50px;
line-height: 50px;
font-size: 20px;color: #fff;text-align: center;
}
header .right{
position: absolute;
bottom: -16px;
right:0;
width:100px;
height: 50px;
}
nav{
display:-webkit-box;
display:-webkit-flex;
display:flex;
-webkit-box-orient:horizontal;
-webkit-flex-flow:row;
flex-flow:row;
position: relative;
width: 100%;
height: 40px;
background-color: #FF6666;
}
nav .menu{
-webkit-box-flex:1;
-webkti-flex:1;
flex:1;
width: 100%;
height: 40px;
line-height: 40px;
font-size: 13px;
text-align: center;
color: #FF1493;
}
nav .menu.selected{
font-size: 13px;
text-align: center;
color: #FFFFFF;
font-weight: bolder;
}
</style>
</head>
<body>
<header>
<h1>每日优先</h1>
<div class="left">
<div class="city">
选择城市
</div>
</div>
<div class="right">注册</div>
</header>
<nav>
<div class="menu selected" >水果</div>
<div class="menu">食材</div>
<div class="menu">零食</div>
<div class="menu">牛奶</div>
<div class="menu">蔬菜</div>
</nav>
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript">
apiready = function(){
};
</script>
</html>
标签:select 16px doctype size format java relative email html
原文地址:http://www.cnblogs.com/smallning/p/6860361.html