common_com
Version:
lazyload、calendar、react-lazyload、loading、scroll、modal、slider、input
62 lines (60 loc) • 1.27 kB
CSS
@import "./fonts/iconfont.css";
.suyangzhou-slider-container {
position: relative;
overflow: hidden;
}
.suyangzhou-slide-wrap {
height: 100%;
}
.suyangzhou-slide-wrap .suyangzhou-slide {
display: inline-block;
height: 100%;
}
.suyangzhou-slide-wrap .suyangzhou-slide > * {
width: 100%;
height: 100%;
}
.suyangzhou-slide-dots {
position: absolute;
z-index: 10;
left: 0;
right: 0;
bottom: 5px;
text-align: center;
}
.suyangzhou-slide-dots .suyangzhou-slide-dot {
display: inline-block;
padding: 5px;
margin: 0 5px;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.7);
cursor: pointer;
}
.suyangzhou-slide-dots .suyangzhou-slide-dot.active {
background-color: skyblue;
}
.suyangzhou-slider-container .iconfont {
position: absolute;
display: block;
z-index: 5;
top: 50%;
transform: translateY(-50%);
font-size: 40px;
text-align: center;
color: white;
background-color: rgba(0, 0, 0, 0.7);
border-radius: 50%;
cursor: pointer;
}
.suyangzhou-slider-container .suyangzhou-show-arrow {
visibility: visible;
}
.suyangzhou-slider-container .suyangzhou-hide-arrow {
visibility: hidden;
}
.suyangzhou-slider-container .icon-prev {
left: 5px;
}
.suyangzhou-slider-container .icon-next {
right: 5px;
}