<!DOCTYPE html>
<html>
<head>
<title>這tm像夢一樣</title>
<style type="text/css">
div.b1 :hover{
cursor:pointer;
/* transform屬性 */
transform:translate(0,-10px)
/* 第一個參數指定X軸的位移量,必填, 第二個參數指定Y軸的位移量,不必填 默認0*/
}
div.b5 :hover{
cursor:pointer;
/* transform屬性 */
transform:translate(0,-10px)
/* 第一個參數指定X軸的位移量,必填, 第二個參數指定Y軸的位移量,不必填 默認0*/
}
div.a :hover{
cursor:pointer;
/* transform屬性 */
transform:translate(0,-10px)
/* 第一個參數指定X軸的位移量,必填, 第二個參數指定Y軸的位移量,不必填 默認0*/
}
.box{
margin:0 auto;
width: 1226px;
height: 614px;
}
.a{
width: 233px;
height: 614px;
float: left;
}
.b{
margin-left: 2px;
width: 850px;
height: 614px;
background-color: #D8D8D8;
float: left;
}
.b1{
margin-left: 10px;
width: 200px;
height: 300px;
float: left;
}
/*.b2{
margin-left: 10px;
width: 200px;
height: 300px;
background-color: red;
float: left;
}
.b3{
margin-left: 10px;
width: 200px;
height: 300px;
background-color: red;
float: left;
}
.b4{
margin-left: 10px;
width: 200px;
height: 300px;
background-color: red;
float: left;
}*/
.b5{
margin-top: 10px;
margin-left: 10px;
width: 200px;
height: 300px;
float: left;
}
/*.b6{
margin-top: 10px;
margin-left: 10px;
width: 200px;
height: 300px;
background-color: red;
float: left;
}
.b7{
margin-top: 10px;
margin-left: 10px;
width: 200px;
height: 300px;
background-color: red;
float: left;
}
.b8{
margin-top: 10px;
margin-left: 10px;
width: 200px;
height: 300px;
background-color: red;
float: left;*/
}
}
</style>
</head>
<body>
<div >
<div><a href="https://www.mi.com/mixalpha"><img src="11.png"></a></div>
<div>
<div><img src="22.png" width="200px" height="300px"></div>
<div><img src="33.png" width="200px" height="300px"></div>
<div><img src="44.png" width="200px" height="300px"></div>
<div><img src="55.png" width="200px" height="300px"></div>
<div><img src="66.png" width="200px" height="300px"></div>
<div><img src="77.png" width="200px" height="300px"></div>
<div><img src="88.png" width="200px" height="300px"></div>
<div><img src="99.png" width="200px" height="300px"></div>
</div>
</div>
</body>
</html>