first commit
This commit is contained in:
42
h5/css/swiper.css
Normal file
42
h5/css/swiper.css
Normal file
@@ -0,0 +1,42 @@
|
||||
.swiper-wrapper .swiper-slide {
|
||||
float: left;
|
||||
}
|
||||
.swiper-container {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
.swiper-pagination {
|
||||
position: absolute;
|
||||
bottom: 10px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
.swiper-dot {
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
background: #fff;
|
||||
border-radius: 100%;
|
||||
margin-right: 5px;
|
||||
float: left;
|
||||
}
|
||||
.swiper-button-prev,
|
||||
.swiper-button-next {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
color: #fff;
|
||||
font-size: 30px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.swiper-button-prev {
|
||||
left: 10px;
|
||||
}
|
||||
.swiper-button-next {
|
||||
right: 10px;
|
||||
}
|
||||
.swiper-wrapper {
|
||||
position: relative;
|
||||
}
|
||||
.swiper-active {
|
||||
background: red !important;
|
||||
}
|
||||
Reference in New Issue
Block a user