<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<title>VerticalAlign样式说明</title>
<style type="text/css">
.app>div{
display:inline-block;
vertical-align:middle;
}
.div0{
width:30px;
height:50px;
background-color:red;
}
.div1{
width:30px;
height:70px;
background-color:green;
}
.div2{
width:30px;
height:90px;
background-color:blue;
}
</style>
</head>
<body>
<div class="app">
<div class="div0"></div>
<div class="div1"></div>
<div class="div2"></div>
</div>
</body>
</html>