*{ padding:0; margin:0; } body { font-size: 0px !important; } /* body { width: 100%; height: 100%; } */ @media (min-width: 781px) { #container { height: 10rem; margin-top: 80px; } .mylunbo{ position: relative; width: 100%; height: 16rem; overflow: hidden; } } /* @media (max-width: 1300px) { .mylunbo { position: relative; height: 600px !important; width: 100% ; overflow: hidden; } } */ @media (max-width: 780px) { #buttons { display: none !important; } #container { margin-top: 4rem; height: 10rem; } .mylunbo{ position: relative; width: 100%; height: 5rem !important; overflow: hidden; } .circle li { width: 25px !important; height: 4px !important; bottom: 10px !important; } } .mylunbo ul{ position: absolute; top: 0; left: 0; /* width:500%; */ height: 100%; } .mylunbo ul li { width: 100%; height: 100%; } .mylunbo ul li a { width: 100%; } .mylunbo ul li a img{ width:100%; height:100%; } ul li{ float:left; list-style-type: none; } ol li{ list-style-type: none; } .arrow-l, .arrow-r { display: none; position: absolute; top: 50%; margin-top: -20px;/*高度40,上移20*/ width: 24px; height: 40px; background: 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: 30px; left: 50%; transform: translateX(-50%); } .circle li { float: left; width: 80px; height: 6px; background: rgba(171, 171, 171, 1); margin: 0 5px; /*鼠标经过显示小手*/ cursor: pointer; } .current { background-color: rgba(231, 6, 67, 1) !important; } a:hover{ color:red; }