@charset "UTF-8"; html, body { background-color: #f5f5f5; height: 100%; overflow: hidden; } .left-list { position: absolute; right: calc(100% + 10px); top: 8%; min-width: 50px; padding: 0 10px; line-height: 3; text-align: center; border-right: 1px solid rgba(0, 0, 0, 0.6); } .left-list .item { white-space: nowrap; } .left-list .item a { display: inline-block; text-decoration: none; font-size: 1.2em; } .container { width: 1100px; margin: 0 auto; } .a-flex { display: -webkit-box; display: -ms-flexbox; display: flex; } /* 图片类样式 */ .img-wrapper { width: 100px; height: 100px; overflow: hidden; -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6); border-radius: 50%; display: inline-block; -webkit-box-sizing: border-box; box-sizing: border-box; border: 3px solid #000; /* ============== * 深褐色过滤* ==============*/ } .img-wrapper img { width: 100%; height: 100px; -webkit-transition: 0.3s linear; transition: 0.3s linear; } .img-wrapper img:hover { -webkit-transform: scale(1.1); transform: scale(1.1); } .img-wrapper .grayscale-img { -webkit-filter: grayscale(100%); filter: grayscale(100%); } .img-wrapper .grayscale-img:hover { -webkit-filter: grayscale(0); filter: grayscale(0); } .img-wrapper .sepia-img { -webkit-filter: sepia(100%); filter: sepia(100%); } .img-wrapper .sepia-img:hover { -webkit-filter: sepia(0); filter: sepia(0); } /*# sourceMappingURL=style.css.map */