.news-item{position: relative; background: #F4F6F7; border-radius: 15px; padding: 40px 60px; margin-bottom: 40px; display: flex; justify-content: space-between; align-items: flex-start;} .news-item .left-fons{width: 100px;} .news-item .left-fons span{display: block; font-size: 18px; color: #181818; margin-bottom: 5px;} .news-item .right-fons{width: calc(100% - 100px);} .news-item .right-fons h3{font-size: 22px; color: #F1B70A; font-weight: 600;text-transform: capitalize;white-space: nowrap; overflow: hidden;text-overflow: ellipsis; margin-bottom: 20px;} .news-item .right-fons p{font-size: 14px; color: #393939; line-height: 22px; margin-bottom: 20px;} .news-item .right-fons span{background: url("/statics/chuneng/images/i_icon04.png") no-repeat center center; width: 50px; height: 24px; border:1px #ADADAD solid;border-radius: 5px;transition: all 0.3s; display: inline-block;} .news-item:hover .right-fons span{background: url("/statics/chuneng/images/i_icon05.png") no-repeat center center #f2b80a; border:1px #f2b80a solid;} .news-show-title{text-align: center;} .news-show-title h2{font-size: 22px; color: #181818; font-weight: 600; margin-bottom: 20px;text-transform: capitalize;} .news-show-title p{margin-bottom: 25px; font-size: 16px; color: #7D7D7D;} .news-show-text{font-size: 14px; color: #393939; line-height: 22px;border-top:1px #BCBCBC dashed; border-bottom:1px #BCBCBC dashed; padding: 30px 0;} .news-show-text p{margin-bottom: 20px;} .news-show-next{padding-top: 20px; text-align: center;} .news-show-next a{display: inline-block; margin: 0 10px; font-size: 14px; color: #7D7D7D;transition: all 0.3s;} .news-show-next a:hover{color: #f2b80a;} .news-back{padding-top: 40px;} .news-back a{padding: 4px 20px;border-radius: 5px; border:1px #BCBCBC solid; display: inline-block; transition: all 0.3s;} .news-back a:hover{background: #f2b80a; border:1px #f2b80a solid; color: #fff;} @media screen and (max-width:1450px){ } @media screen and (max-width:1200px){ } @media screen and (max-width: 960px){ } @media screen and (max-width: 768px){ .news-item{flex-direction: column; padding: 20px; margin-bottom: 20px;} .news-item .left-fons{width: 100%;} .news-item .right-fons{width: 100%;} .news-show-title h2{line-height: normal;} }