Commit 40a3c32a by 贾新

fix

parent f6228379
.k12Online { .k12Online {
margin: 132px 0 60px; margin-top: 132px;
} }
.k12Online .banner { .k12Online .banner {
height: 537px; height: 537px;
......
...@@ -4,18 +4,24 @@ body{ ...@@ -4,18 +4,24 @@ body{
.news { .news {
margin: 152px 0 60px; margin: 152px 0 60px;
} }
.news > div{ .news >a > div{
width: 1180px; width: 1180px;
margin: 0 auto 20px; margin: 0 auto 20px;
height: 203px; height: 203px;
background: #fff url('../image/news.jpg') no-repeat right/271px 203px; background: #fff;
display: flex;
background: #fff;
justify-content: space-between;
} }
.news > div:hover { a:hover{
text-decoration:none; /*鼠标放上去有下划线*/
}
.news >a > div:hover {
box-shadow: 0 0 12px rgba(0, 0, 0, .2); box-shadow: 0 0 12px rgba(0, 0, 0, .2);
} }
.news > div > div{
.news >a >div > div > div{
width: 833px; width: 833px;
padding: 0 30px;
color: #666; color: #666;
font-size: 16px; font-size: 16px;
line-height: 26px; line-height: 26px;
...@@ -24,11 +30,15 @@ body{ ...@@ -24,11 +30,15 @@ body{
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 3; -webkit-line-clamp: 3;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
padding-left: 30px;
} }
.news > div > div:first-child { .news >a > div >div > div:first-child {
font-size: 24px; font-size: 24px;
color: #333; color: #333;
padding: 30px 30px 20px; padding: 30px 0 20px 30px;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
} }
.news >a > div >img{
width: 271px;
}
\ No newline at end of file
.service { .service {
margin: 132px 0 60px; margin-top: 132px;
} }
.service .banner{ .service .banner{
background: url('../image/service_banner.png') no-repeat center/1920px; background: url('../image/service_banner.png') no-repeat center/1920px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment