Initial commit
This commit is contained in:
68
static/css/floatingShadow.css
Normal file
68
static/css/floatingShadow.css
Normal file
@@ -0,0 +1,68 @@
|
||||
|
||||
.box {
|
||||
padding: 20px;
|
||||
width: 982px;
|
||||
height: 270px;
|
||||
margin: 0 auto;
|
||||
margin-top: 50px;
|
||||
margin-bottom: 200px;
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
.box h1{
|
||||
margin-left: 20px;
|
||||
text-align: left;
|
||||
|
||||
}
|
||||
.smallbox {
|
||||
width: 235px;
|
||||
height: 270px;
|
||||
margin-left: 14px;
|
||||
margin-top: 30px;
|
||||
float: left;
|
||||
background-color: #fff;
|
||||
/* css3效果过渡 */
|
||||
transition: all .2s linear;
|
||||
}
|
||||
|
||||
.box .smallbox img {
|
||||
|
||||
height: 160px;
|
||||
margin: 0 37.5px 12px;
|
||||
}
|
||||
.box .smallbox h4 {
|
||||
margin: 10px 10px 2px;
|
||||
color: #333333;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
text-align: center;
|
||||
}
|
||||
.box .smallbox .conten {
|
||||
font-size: 12px;
|
||||
color: #b0b0b0;
|
||||
text-align: center;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.smallbox:hover {
|
||||
/* 盒子阴影 */
|
||||
box-shadow: 4px 20px 40px 5px rgba(0, 0, 0, .1);
|
||||
/* 盒子向上移动效果,改变上外边距 */
|
||||
margin-top: 20px;
|
||||
}
|
||||
.box .aa {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.box .gengduo{
|
||||
display: block;
|
||||
text-align: right;
|
||||
text-decoration: none;
|
||||
margin-top: 300px;
|
||||
margin-bottom: 300px;
|
||||
padding: 30px 80px;
|
||||
font-size: 20px;
|
||||
color: rgb(255, 248, 248);
|
||||
font-family: Tahoma;
|
||||
}
|
||||
Reference in New Issue
Block a user