Custom Swiper Scrollbar Fn
This commit is contained in:
21
swiper-scrollbar/style.css
Normal file
21
swiper-scrollbar/style.css
Normal file
@@ -0,0 +1,21 @@
|
||||
/* SWIPER PROGRESS */
|
||||
.idm-scrollbar{
|
||||
flex: 1;
|
||||
height: 2px!important;
|
||||
position: relative!important;
|
||||
margin-top: 2rem;
|
||||
cursor: grab;
|
||||
}
|
||||
.idm-scrollbar.--drag-start .idm-progress{
|
||||
transition: none;
|
||||
}
|
||||
.idm-progress{
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
height: calc(100% + 2px);
|
||||
background-color: #0d0d0d;
|
||||
left: 0;
|
||||
top: -1px;
|
||||
transition: all 0.3s;
|
||||
border-radius: 5px;
|
||||
}
|
||||
Reference in New Issue
Block a user