/* 通用样式 */ body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td , a, div, span, i { margin:0; padding:0; box-sizing: border-box; } body, button, input, select, textarea{ font:16px/1.5 "Microsoft YaHei", arial, \5b8b\4f53; } address, cite, dfn, em, var { font-style:normal; } code, kbd, pre, samp { font-family:courier new, courier, monospace; } small { font-size:12px; } ul, ol { list-style:none; } a, a:hover { outline: none; text-decoration:none; } sup { vertical-align:text-top; } sub { vertical-align:text-bottom; } legend { color:#000; } fieldset, img { border:0; max-width: 100%; vertical-align: middle; } button, input, select, textarea { font-size:100%; border: none; outline: none; } button, input { background: none; } button { cursor: pointer; } table { border-collapse:collapse; border-spacing:0; } .fl{ float: left; } .fr{ float: right; } .clear{ content: ""; clear: both; zoom: 1; } .clearfix{ zoom: 1; } .clearfix:after{ display: block; content: ""; clear: both } .clearfix:before{ display: table; content: ""; } .flex { display: -ms-flexbox; display: flex; } .flex-wrap { display: -ms-flexbox; display: flex; flex-wrap: wrap; } .flex-center { display: -ms-flexbox; display: flex; flex-wrap: wrap; justify-content: center; } .flex-right { display: -ms-flexbox; display: flex; flex-wrap: wrap; justify-content: flex-end; } .flex-between { display: -ms-flexbox; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; } .flex-middle { display: -ms-flexbox; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; } .flex-center-middle { display: -ms-flexbox; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; } .tt1 { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tt2 { display: block; display: -webkit-box; -webkit-box-orient: vertical; -moz-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .tt3 { display: block; display: -webkit-box; -webkit-box-orient: vertical; -moz-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; } .tt4 { display: block; display: -webkit-box; -webkit-box-orient: vertical; -moz-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; } .tt5 { display: block; display: -webkit-box; -webkit-box-orient: vertical; -moz-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; } .img-zoom { position: relative; display: block; overflow: hidden; } .img-zoom img { display: none; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; -webkit-transition: transform 0.8s ease-out 0s; -moz-transition: transform 0.8s ease-out 0s; -ms-transition: transform 0.8s ease-out 0s; -o-transition: transform 0.8s ease-out 0s; transition: transform 0.8s ease-out 0s; } .img-zoom .img-frame { position: relative; overflow: hidden; } .img-zoom .img { height: 100%; background-repeat: no-repeat; background-position: 50% 50%; background-color: transparent; background-size: cover; -webkit-transition: transform 0.8s ease-out 0s; -moz-transition: transform 0.8s ease-out 0s; -ms-transition: transform 0.8s ease-out 0s; -o-transition: transform 0.8s ease-out 0s; transition: transform 0.8s ease-out 0s; } .img-zoom .img img { display: none; min-height: 100%; } .img-zoom:hover img { min-height: 100%; -webkit-transform: scale(1.08); -moz-transform: scale(1.08); -ms-transform: scale(1.08); -o-transform: scale(1.08); transform: scale(1.08); } .img-zoom:hover .img { -webkit-transform: scale(1.08); -moz-transform: scale(1.08); -ms-transform: scale(1.08); -o-transform: scale(1.08); transform: scale(1.08); }