Skip to content

Commit

Permalink
Slider Responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
asmaamostafa74 committed Sep 3, 2024
1 parent 833c766 commit 0756db8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
3 changes: 1 addition & 2 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3134,8 +3134,7 @@ form .tel::after {
justify-content:center;
}

.card-content .card-title.first,
.card-content .card-title.third {
.margin-top-65 {
margin-top:65px
}

Expand Down
18 changes: 18 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1334,6 +1334,24 @@ <h2>Payment Methods</h2>
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
breakpoints: {
200: {
slidesPerView: 1,
spaceBetween: 20,
},
554: {
slidesPerView: 2,
spaceBetween: 20,
},
768: {
slidesPerView: 4,
spaceBetween: 40,
},
1024: {
slidesPerView: 5,
spaceBetween: 50,
},
},
});
</script>

Expand Down

0 comments on commit 0756db8

Please sign in to comment.