* { margin: 0; padding: 0; box-sizing: border-box; } li { list-style: none } .spinner-container { position: relative; background-color: #fff; } .spinner { position: absolute; height: 40px; font-size: 10px; z-index: 10; } .setting-user-infos .spinner-center { top: 27%; } .spinner-center { top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); } .spinner-bottom { bottom: -50px; left: 50%; transform: translateX(-50%); } .spinner>div { background-color: #2980b9; height: 100%; width: 6px; display: inline-block; -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out; animation: sk-stretchdelay 1.2s infinite ease-in-out; } .spinner .rect2 { -webkit-animation-delay: -1.1s; animation-delay: -1.1s; } .spinner .rect3 { -webkit-animation-delay: -1.0s; animation-delay: -1.0s; } .spinner .rect4 { -webkit-animation-delay: -0.9s; animation-delay: -0.9s; } .spinner .rect5 { -webkit-animation-delay: -0.8s; animation-delay: -0.8s; } @-webkit-keyframes sk-stretchdelay { 0%, 40%, 100% { -webkit-transform: scaleY(0.4) } 20% { -webkit-transform: scaleY(1.0) } } @keyframes sk-stretchdelay { 0%, 40%, 100% { transform: scaleY(0.4); -webkit-transform: scaleY(0.4); } 20% { transform: scaleY(1.0); -webkit-transform: scaleY(1.0); } } #container { width: 1200px; margin: 100px auto; } .main-caro-box { position: relative; padding-top: 45px; } .main-caro-list { position: relative; padding: 16px; width: 1200px; height: 300px; box-shadow: 0 0 5px 5px #eee; overflow: hidden; } .caro-con { position: absolute; top: 16px; left: 0; width: 10000px; height: 100%; transition: all 0.7s; } .caro-con>div { float: left; overflow: hidden; } .caro-cle-b { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); display: flex; justify-content: center; align-items: center; padding: 7px 10px; border-radius: 5px; overflow: hidden; background-color: rgba(0, 0, 0, 0.2); } .caro-cle-b li { width: 10px; height: 10px; background-color: #fff; margin: 0 10px; border-radius: 50%; cursor: pointer; border: 1px solid rgba(0, 0, 0, 0.3); transition: all 0.7s; } .caro-cle-b .current { transform: scaleX(3); border-radius: 23%; background-color: #5257bd; } .caro-sli-last { left: 0%; border-radius: 0 8px 8px 0; } .caro-sli-next { right: 0%; border-radius: 8px 0 0 8px; } [class^=caro-sli] { position: absolute; top: 50%; display: flex; justify-content: center; align-items: center; transform: translateY(-50%); width: 32px; height: 72px; background-color: rgba(0, 0, 0, 0.5); font-size: 26px; color: #fff; opacity: 0.4; cursor: pointer; } [class^=caro-sli]:hover { opacity: 1; } .bigbox { display: flex; flex-direction: column; justify-content: space-between; margin-right: 16px; width: 341px; height: 268px; opacity: 1; transform: scale(1); } .smallbox { width: 100%; height: 126px; background-size: cover !important; padding-top: 23px; border-radius: 8px; } .small-title { margin: 0 0 11px 21px; font-size: 18px; color: #fff; font-weight: 700; line-height: 25px; } .small-brief { font-size: 14px; color: #eee; line-height: 20px; width: 194px; margin-left: 21px; } .firstbox { width: 698px; height: 268px; margin-right: 16px; border-radius: 8px; opacity: 1; transform: scale(1); } .FboxCon { width: 100%; height: 100%; background-size: cover !important; background-position: -30px 0 !important; } .first-title { padding: 36px 0 8px 32px; font-size: 26px; font-weight: 700; color: #fff; line-height: 36px; } .first-brief { font-size: 18px; color: hsla(0, 0%, 100%, .8); line-height: 25px; padding-left: 32px } .first-desc { width: 463px; height: 110px; background: -webkit-linear-gradient(right,hsla(0,0%,100%,0),hsla(0,0%,100%,.09)); border-radius: 7px; margin-top: 37px; margin-left: 20px; padding: 11px 0 0 17px; } .first-desc ul li { width: 220px; color: #fff; font-size: 14px; line-height: 20px; float: left; margin-top: 16px; } .opacity-left { transform: scale(.9); transform-origin: right; opacity: .16; } .opacity-right { transform: scale(.9); transform-origin: left; opacity: .16; } .trans { transition: all 0.7s; }