swiper.setProgress(progress, 10)
- document.querySelector(':root').style.setProperty('--progress-swiper', progress*100+'%');
+ document.querySelector(':root').style.setProperty('--progress-swiper', Math.min(100, (progress*100) + 5)+'%');
$("[data-group]").removeClass("active")
$("[data-group=0-5]").addClass("active")
- if(progress*100 >= 50) {
+ if((progress*100) + 5 >= 50) {
$("[data-group=6-12]").addClass("active")
}
- if (progress*100 >= 90) {
+ if ((progress*100) + 5 >= 90) {
$("[data-group=13-17]").addClass("active")
}
+below($breakpoint-timeline-horizontal)
width: 90%
+ +below(1920px)
+ width: calc(100% - calc(10vw * 2)) !important
+
+ +below(500px)
+ width: calc(100% - calc(5vw * 2)) !important
+
+
&-item
@apply bg-white flex-col items-center
//horizontal-spacing(12.5vw)