1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
| <!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>Document</title> <link rel="stylesheet" href="./css/reset.css"> <link rel="stylesheet" href="./css//common.css"> <style> .dress { margin-top: 20px; }
.dress .header { height: 58px; line-height: 58px; }
.dress .header .left_area { float: left; }
.dress .header .right_area { float: right; font-size: 14px; }
.dress .header .item { margin-left: 20px;
}
.dress .header .right_area .item:hover, .dress .header .right_area .item.active { padding: 3px 0; border-bottom: 2px solid red; color: red; }
.dress .list { margin-right: -14px; }
.dress .list .item { float: left; width: 234px; height: 300px; margin-right: 14px; margin-bottom: 14px; background-color: #f00; transition: all 0.3s ease-in; }
.dress .list .item.item1 { height: 614px; }
.dress .list .item.item9, .dress .list .item.item10 { height: 143px; }
.dress .list .item:hover { box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5); transform: translateY(-2px); }
.dress .list .item a { display: inline-block; width: 100%; height: 100%; } </style> </head>
<body> <div class="mi_wrapper dress"> <div class="header clear_fix"> <div class="left_area"> <h3 class="title">智能穿戴</h3> </div> <div class="right_area"> <a class="item active hot" href="#">热门</a> <a class="item info" href="#">穿戴</a> </div> </div> <div> <ul class="list"> <li class="item item1"><a href="#">1</a></li> <li class="item item2"><a href="#">2</a></li> <li class="item item3"><a href="#">3</a></li> <li class="item item4"><a href="#">4</a></li> <li class="item item5"><a href="#">5</a></li> <li class="item item6"><a href="#">6</a></li> <li class="item item7"><a href="#">7</a></li> <li class="item item8"><a href="#">8</a></li> <li class="item item9"><a href="#">9</a></li> <li class="item item10"><a href="#">10</a></li> </ul> </div> </div> </body>
</html>
|