Sha256: 8e7924456ed0d1d77458e7e75e1cae4106de49c9a183bb3d77765690dc8f0ea1

Contents?: true

Size: 386 Bytes

Versions: 10

Compression:

Stored size: 386 Bytes

Contents

.carousel {
  align-items: center;
  display: flex;
  gap: var(--size-4);
}

.carousel__content {
  display: flex;
  gap: var(--size-6);
  overflow-x: auto;
  padding: var(--size-1);
  scrollbar-width: none;
  scroll-snap-type: x mandatory;

  &::-webkit-scrollbar {
    display: none;
  }

  > * {
    flex: 0 0 100%;
    scroll-snap-stop: always;
    scroll-snap-align: center;
  }
}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
css-zero-0.0.38 lib/generators/css_zero/add/templates/app/assets/stylesheets/carousel.css
css-zero-0.0.37 lib/generators/css_zero/add/templates/app/assets/stylesheets/carousel.css
css-zero-0.0.36 lib/generators/css_zero/add/templates/app/assets/stylesheets/carousel.css
css-zero-0.0.35 lib/generators/css_zero/add/templates/app/assets/stylesheets/carousel.css
css-zero-0.0.34 lib/generators/css_zero/add/templates/app/assets/stylesheets/carousel.css
css-zero-0.0.33 lib/generators/css_zero/add/templates/app/assets/stylesheets/carousel.css
css-zero-0.0.32 lib/generators/css_zero/add/templates/app/assets/stylesheets/carousel.css
css-zero-0.0.31 lib/generators/css_zero/add/templates/app/assets/stylesheets/carousel.css
css-zero-0.0.30 lib/generators/css_zero/add/templates/app/assets/stylesheets/carousel.css
css-zero-0.0.29 lib/generators/css_zero/add/templates/app/assets/stylesheets/carousel.css