实践课程

dev_hss
caicai8 6 years ago
parent 968b9112f6
commit fa6258ea3e

@ -68,12 +68,16 @@
overflow: hidden; overflow: hidden;
display: block; display: block;
border-radius: 6px; border-radius: 6px;
position: relative;
} }
.squareCard .squareImg img{ .squareCard .squareImg img{
transition: all 1s; transition: all 1s;
-webkit-transition: all 1s; -webkit-transition: all 1s;
-o-transition: all 1s; -o-transition: all 1s;
width: 100%; width: 100%;
position: absolute;
top: -50%;
margin-top: 67.5px;
} }
.squareCard .squareImg img:hover{ .squareCard .squareImg img:hover{
transform: scale(1.05); transform: scale(1.05);

Loading…
Cancel
Save