103 lines
3.3 KiB
HTML
103 lines
3.3 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
|
||
|
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
|
<meta name="viewport" content="width-device-width,initial-scale=1.0">
|
||
|
<title>作业</title>
|
||
|
|
||
|
<style>
|
||
|
/* 预留样式 */
|
||
|
.border-right {
|
||
|
border-right:solid 1px #ccc ;
|
||
|
}
|
||
|
.border-bottom {
|
||
|
border-bottom:solid 1px #ccc ;
|
||
|
}
|
||
|
.flex {
|
||
|
display: flex;
|
||
|
}
|
||
|
|
||
|
img {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
/* 外壳 */
|
||
|
#app {
|
||
|
box-sizing: border-box;
|
||
|
width: 1200px;
|
||
|
margin: 0 auto;
|
||
|
border: solid 1px #ccc;
|
||
|
padding: 10px ;
|
||
|
}
|
||
|
/* 上面的样式 */
|
||
|
#app .top {
|
||
|
display: flex;
|
||
|
justify-content:center;
|
||
|
}
|
||
|
#app .top span {
|
||
|
border-right: solid 2px #ccc;
|
||
|
padding: 0 20px;
|
||
|
}
|
||
|
#app .top span:nth-child(1) {
|
||
|
border-right:none ;
|
||
|
padding: 0 20px;
|
||
|
}
|
||
|
/* 下面样式 */
|
||
|
.bottom {
|
||
|
margin: top 15px; ;
|
||
|
}
|
||
|
|
||
|
</style>
|
||
|
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
|
||
|
<div id="app">
|
||
|
|
||
|
<div class="top">
|
||
|
<span>护肤</span>
|
||
|
<span>彩妆</span>
|
||
|
<span>美发</span>
|
||
|
<span>美体</span>
|
||
|
<span>香氛</span>
|
||
|
<span>肌肤</span>
|
||
|
<span>产品</span>
|
||
|
<span>唇部</span>
|
||
|
<span>精华</span>
|
||
|
<span>修护</span>
|
||
|
|
||
|
</div>
|
||
|
<div class="bottom flex">
|
||
|
<!-- left -->
|
||
|
<div class="flex ">
|
||
|
<img class="border-right" src="https://tse2-mm.cn.bing.net/th/id/OIP-C.C38tPmdN8_amlKOTvKp45AHaNK?w=182&h=324&c=7&r=0&o=5&dpr=1.25&pid=1.7" alt="">
|
||
|
<div class="border-right">
|
||
|
<img class="border-bottom" src="https://tse2-mm.cn.bing.net/th/id/OIP-C.C38tPmdN8_amlKOTvKp45AHaNK?w=182&h=324&c=7&r=0&o=5&dpr=1.25&pid=1.7" alt="">
|
||
|
<img src="https://tse2-mm.cn.bing.net/th/id/OIP-C.C38tPmdN8_amlKOTvKp45AHaNK?w=182&h=324&c=7&r=0&o=5&dpr=1.25&pid=1.7" alt="">
|
||
|
</div>
|
||
|
</div>
|
||
|
<!-- right -->
|
||
|
<div class="flex">
|
||
|
<div class="border-right">
|
||
|
<img class="border-bottom" src="https://tse1-mm.cn.bing.net/th/id/OIP-C.Ca5vPlfNKm2z_DCvMe4QqwHaLi?w=182&h=284&c=7&r=0&o=5&dpr=1.25&pid=1.7" alt="">
|
||
|
<img class="border-bottom" src="https://tse1-mm.cn.bing.net/th/id/OIP-C.Ca5vPlfNKm2z_DCvMe4QqwHaLi?w=182&h=284&c=7&r=0&o=5&dpr=1.25&pid=1.7" alt="">
|
||
|
<img class="border-bottom" src="https://tse1-mm.cn.bing.net/th/id/OIP-C.Ca5vPlfNKm2z_DCvMe4QqwHaLi?w=182&h=284&c=7&r=0&o=5&dpr=1.25&pid=1.7" alt="">
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="flex">
|
||
|
<img class="border-right border-bottom" src="https://tse1-mm.cn.bing.net/th/id/OIP-C.Ca5vPlfNKm2z_DCvMe4QqwHaLi?w=182&h=284&c=7&r=0&o=5&dpr=1.25&pid=1.7" alt="">
|
||
|
<img class="border-bottom" src="https://tse1-mm.cn.bing.net/th/id/OIP-C.Ca5vPlfNKm2z_DCvMe4QqwHaLi?w=182&h=284&c=7&r=0&o=5&dpr=1.25&pid=1.7" alt="">
|
||
|
</div>
|
||
|
<img src="https://tse1-mm.cn.bing.net/th/id/OIP-C.Ca5vPlfNKm2z_DCvMe4QqwHaLi?w=182&h=284&c=7&r=0&o=5&dpr=1.25&pid=1.7" alt="">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</body>
|
||
|
|
||
|
</html>
|