.main { width: 1100px; height: 550px; margin: 10px auto; position: relative; overflow: hidden; margin-top: 30px; } .focus ul { position: absolute; top: 0; left: 0; width: 500%; } .focus ul li { float: left; } .arrow-l, .arrow-r { position: absolute; top: 50%; margin-top: -20px; width: 24px; height: 40px; background-color: rgba(0, 0, 0, .3); text-align: center; line-height: 40px; color: #fff; font-family: 'icomoon'; font-size: 18px; z-index: 2; } .arrow-r { right: 0; } .circle { position: absolute; bottom: 10px; left: 520px; } .circle li { float: left; width: 15px; height: 15px; border: 2px solid rgba(255, 255, 255, 0.5); margin: 0 3px; border-radius: 50%; cursor: pointer; } .current { background-color: #fff; } .facility { width: 1100px; height: 350px; margin: 30px auto; } .f1, .f2, .f3 { float: left; width: 335px; height: 350px; background-color: #e9ecef; margin: 0 18px; } .f1 { margin-left: 0; box-shadow: -5px 5px 5px -4px #888, 5px 5px 5px -4px #888; background-color: #fff; } .f3 { float: right; margin-right: 0; background-color: #fff; box-shadow: -5px 5px 5px -4px #888, 5px 5px 5px -4px #888; } .f2 { margin-left: 30px; box-shadow: -5px 5px 5px -4px #888, 5px 5px 5px -4px #888; background-color: #fff; } .f1-img, .f2-img { border-bottom: #1b1c5e solid 5px; } .f3-img { border-bottom: #1b1c5e solid 5px; } .f1-word h3, .f2-word h3, .f3-word h3 { color: #1b1c5e; font-size: 20px; padding-left: 14px; padding-top: 10px; font-size: 22px; } .f1-word h5, .f2-word h5, .f3-word h5 { padding-top: 10px; padding-left: 14px; font-size: 15px; } .f1 a, .f2 a, .f3 a { display: inline-block; width: 335px; height: 350px; } .f1 a:hover, .f2 a:hover, .f3 a:hover { color: white; background-color: #6c757d; } .f1 a:hover h3, .f2 a:hover h3, .f3 a:hover h3 { color: white; background-color: #6c757d; } .tips { width: 1101px; height: 350px; margin: 50px auto; } .slogon { height: 50px; text-align: center; font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; font-size: 30px; letter-spacing: 2px; color: gray; } .slogon span { font-style: italic; color: black; } .t1, .t2, .t3 { margin-top: 20px; float: left; width: 367px; height: 280px; } .t1 { position: relative; } .t2 { position: relative; } .t3 { position: relative; } .t1 .mask1 { position: absolute; top: 0px; left: 0px; width: 367px; height: 280px; background: rgba(101, 101, 101, 0.6); color: #fff; opacity: 0; } .t2 .mask2 { position: absolute; top: 0px; left: 0px; width: 367px; height: 280px; background: rgba(101, 101, 101, 0.6); color: #fff; opacity: 0; } .t3 .mask3 { position: absolute; top: 0px; left: 0px; width: 367px; height: 280px; background: rgba(101, 101, 101, 0.6); color: #fff; opacity: 0; } .mask1 h2, .mask2 h2, .mask3 h2 { text-align: center; padding-top: 120px; } .mask1:hover, .mask2:hover, .mask3:hover { opacity: 1; }