Skip to content

Commit

Permalink
Work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
elad2412 committed Jun 7, 2024
1 parent a30bd49 commit 4a0cc1b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/scss/7-components/_carousel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
&-list {
position:relative; display:flex; align-items:center; gap:pxToRem(32);
overflow-x:auto; scroll-snap-type:x mandatory;
/* hide scroll */
scrollbar-width: none; /* Firefox */
&::-webkit-scrollbar { display:none; } /* Safari and Chrome */
}
&-item {
scroll-snap-align:center; min-inline-size:pxToRem(472);
Expand Down

0 comments on commit 4a0cc1b

Please sign in to comment.