@charset "utf-8"; /* css 重置 */ .aboutScroll * { margin: 0; padding: 0; list-style: none; } .aboutScroll img { height: 5rem; vertical-align: middle; border: 0.1rem solid #fff; border-radius: 0.3rem; -moz-box-shadow: 0px 1px 8px #ccc; -webkit-box-shadow: 0px 1px 8px #ccc; box-shadow: 0px 1px 6px #ccc; } .aboutScroll a { text-decoration: none; color: #fff; /*background:#434242;*/ } .aboutScroll a:hover { /*background:#e50202;*/ } .aboutScroll .txt { line-height: 2rem; } .aboutScroll .picList a { display: block; /*width:241px;*/ /*min-height:339px;*/ } .aboutScroll .picList .sub_two a { font-size: 16px; line-height: 48px; padding-top: 2px; } .aboutScroll .picList .item .two { padding: 0 18px; } .aboutScroll .picList .item .two a.more { display: block; width: 80px; text-align: center; padding: 2px 0; border: 0.05rem solid #fff; font-size: 13px; } .aboutScroll .picList a .txt { margin: 0; padding: 0; height: 95px; font-size: 17px; width: 85%; margin: 0 auto; text-align: left; } .aboutScroll .picList a .txt .fa_title { display: block; padding-top: 16px; } .aboutScroll .picList a .txt .more { display: inline-block; font-size: 12px; border: 0.05rem solid #fff; margin-top: 15px; padding: 2px 8px; } .aboutScroll .tempWrap { margin: 0 auto; } /* 本例子css */ .aboutScroll { overflow: hidden; position: relative; width: 100%; max-width: 100%; margin: 0 auto; } .aboutScroll .hd { overflow: hidden; position: relative; padding-top: 10px; } .aboutScroll .bd a.prev, .aboutScroll .bd a.next { display: block; width: 1rem; height: 2.5rem; position: absolute; cursor: pointer; background: url(/template/images/aboutBt.png) no-repeat; background-size: auto 2.5rem; top: 20%; z-index: 500; } .aboutScroll .bd a.prev { left: 0; background-position-x: 34%; } .aboutScroll .bd a.prev:hover { background-position-x: 0; } .aboutScroll .bd a.next { right: 0; background-position-x: 65%; } .aboutScroll .bd a.next:hover { background-position-x: 98%; } .aboutScroll .hd ul { overflow: hidden; zoom:1; margin: 0 auto; margin-top: 10px; width: 100px; } .aboutScroll .hd ul li { background: #e50202; float: left; width: 0.5rem; height: 0.5rem; border-radius: 2rem; overflow: hidden; margin-right: 0.2rem; text-indent: -999px; cursor: pointer; position: relative; top: 3px; } .aboutScroll .hd ul li.on { width: 0.5rem; height: 0.5rem; border-radius: 2rem; position: relative; top: 0; } .aboutScroll .bd ul { overflow: hidden; zoom:1; } .aboutScroll .bd ul li { float: left; _display: inline; overflow: hidden; /*text-align:center;*/ min-height: 6rem; width: 100%; max-width: 50%; } .aboutScroll .bd ul li .pic { text-align: center; } .aboutScroll .bd ul li .pic img { width: 100%; max-width: 100%; height: 5rem; display: block; padding: 2px; border: 0.05rem solid #ccc; } .aboutScroll .bd ul li .pic a:hover img { border-color: #999; } .aboutScroll .bd ul li .title { line-height: 1.5rem; } .aboutScroll .bd ul li .item { width: 100%; max-width: 95%; text-align: center; margin-left: 2.5%; }