@charset "utf-8"; .m-style { position: relative; text-align: center; zoom: 1; } .m-style:before, .m-style:after { content: ""; display: table; } .m-style:after { clear: both; overflow: hidden; } .m-style span { float: left; /* margin: 0 5px; */ width: 30px; height: 30px; line-height: 30px; color: #bdbdbd; font-size: 14px; } .m-style .active { float: left; /* margin: 0 5px; */ width: 30px; height: 30px; line-height: 30px; background: #008E3F; color: #fff; font-size: 14px; border-radius: 50%; } .m-style a { display: inline-block; float: left; /* margin: 0 5px; */ width: 30px; height: 30px; line-height: 30px; background: #fff; color: #bdbdbd; font-size: 14px; } .m-style a:hover { color: #008E3F; } .m-style .next, .m-style .prev { font-family: "Simsun"; font-size: 16px; font-weight: bold; } .now, .count { /* padding: 0 5px; */ color: #008E3F; } .eg img { max-width: 800px; min-height: 500px; } input { float: left; margin: 0 5px; width: 30px; height: 30px; line-height: 30px; text-align: center; background: #fff; border: 1px solid #ebebeb; outline: none; color: #bdbdbd; font-size: 14px; } @media (max-width: 768px) { .m-style .active, .m-style span, .m-style a { width: 20px; height: 20px; line-height: 20px; } }