diff --git a/css/style.css b/css/style.css index 87b5d15..90bd4df 100644 --- a/css/style.css +++ b/css/style.css @@ -1305,12 +1305,14 @@ margin: 0 97px; } .about-content-bg>div{ - display: none; + height: 0; + padding: 0; + overflow: hidden; } .about-content-bg>div.cur{ - display: block; + height: auto; } -.about-content{ +.about-content.cur{ padding-top: 100px; } /* 公司简介 */ @@ -1318,7 +1320,7 @@ padding-bottom: 50px; } /* 企业文化 */ -.culture-bg{ +.culture-bg.cur{ padding: 35px 0 56px; background-image: url(../imgs/about-culture-bg.jpg); background-repeat: no-repeat; @@ -1374,7 +1376,7 @@ line-height: 1.8; } /* 发展历程 */ -.history{ +.history.cur{ padding-top: 50px; } .history-top{ @@ -1436,9 +1438,9 @@ /* 公司荣誉 */ -.honor-content, -.contact-content, -.join-content{ +.honor-content.cur, +.contact-content.cur, +.join-content.cur{ padding: 100px 0 55px; background-color: #f5f7fa; background-image: url(../imgs/news-bg.jpg);