//鍏叡閮ㄥ垎 @import './common.less'; .top-banner { background-image: url(../images/banner-successfulCase.png); } .advantage { height: 120px; background: #E8E8EA url(../images/bg-advantage.png) top center no-repeat; } .container { padding: 0; } .main { background-color: #f8f8f8; h2 { margin: 0; padding: 0; font-size: 26px; line-height: 115px; position: relative; text-align: center; &:before { content: ''; position: absolute; top: 90px; left: 50%; margin-left: -8px; background: #333333; width: 16px; height: 2px; } } .project { padding-bottom: 60px; >div { >a { display: block; width: 390px; background-color: #fff; padding: 0; transition: all 0.2s; margin-bottom: 20px; .project-img { width: 390px; height: 260px; overflow: hidden; } &:hover { box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.17); .info span { color: @themeColor; b { background: url(../images/icon-arrow-themeColor.png) no-repeat; } } } &:nth-child(3n-1) { margin: 0 25px; } } } .info { padding: 20px 20px 0 20px; h3 { margin: 0; font-size: 16px; font-weight: bold; line-height: 22px; } p { font-size: 14px; color: @fontColor666; line-height: 26px; padding: 10px 0; margin-bottom: 0; border-bottom: 1px solid #ddd; } span { display: block; line-height: 50px; font-size: 14px; b { display: block; margin-top: 20px; width: 19px; height: 12px; background: url(../images/icon-arrow-gray.png) no-repeat; } &:hover { color: @themeColor; b { background: url(../images/icon-arrow-themeColor.png) no-repeat; } } } } } } footer { margin-top: 0; }