Sha256: 6a7d81434ac18f0521f7dff48fb594151e6920888f5d8c06dcba28e5cde8e4e6

Contents?: true

Size: 541 Bytes

Versions: 6

Compression:

Stored size: 541 Bytes

Contents

// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source

@mixin foundation-sticky {
  .sticky-container {
    position: relative;
  }

  .sticky {
    position: relative;
    z-index: 0;
    transform: translate3d(0, 0, 0);
  }

  .sticky.is-stuck {
    position: fixed;
    z-index: 5;

    &.is-at-top {
      top: 0;
    }

    &.is-at-bottom {
      bottom: 0;
    }
  }

  .sticky.is-anchored {
    position: relative;
    right: auto;
    left: auto;

    &.is-at-bottom {
      bottom: 0;
    }
  }
}

Version data entries

6 entries across 6 versions & 4 rubygems

Version Path
aacinfo-theme-2.0.1 _sass/foundation-sites/scss/components/_sticky.scss
foundation-scss-6.3.1.0 scss/components/_sticky.scss
foundation6-jekyll-base-0.0.2 _sass/foundation/components/_sticky.scss
foundation6-jekyll-base-0.0.1 _sass/foundation/components/_sticky.scss
foundation-rails-6.3.1.0 vendor/assets/scss/components/_sticky.scss
foundation-rails-6.3.0.0 vendor/assets/scss/components/_sticky.scss