Sha256: 4850751ba1e2d3e106dfd62c32a89423d4f4174a811644809cb8d2faf22a301c

Contents?: true

Size: 614 Bytes

Versions: 229

Compression:

Stored size: 614 Bytes

Contents

// stylelint-disable declaration-no-important

// Common values

// Sass list not in variables since it's not intended for customization.
$positions: static, relative, absolute, fixed, sticky;

@each $position in $positions {
  .position-#{$position} { position: $position !important; }
}

// Shorthand

.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: $zindex-fixed;
}

.fixed-bottom {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: $zindex-fixed;
}

.sticky-top {
  @supports (position: sticky) {
    position: sticky;
    top: 0;
    z-index: $zindex-sticky;
  }
}

Version data entries

229 entries across 227 versions & 15 rubygems

Version Path
comfortable_mexican_sofa-2.0.6 app/assets/stylesheets/comfy/admin/cms/lib/bootstrap/utilities/_position.scss
card-1.93.6 mod/bootstrap/vendor/bootstrap/scss/utilities/_position.scss
card-1.93.5 mod/bootstrap/vendor/bootstrap/scss/utilities/_position.scss
jekyll-bootstrap-4.0.0.pre.beta.2.2 _sass/utilities/_position.scss
jekyll-bootstrap-4.0.0.pre.beta.2.1 _sass/utilities/_position.scss
card-1.93.4 mod/bootstrap/vendor/bootstrap/scss/utilities/_position.scss
card-1.93.3 mod/bootstrap/vendor/bootstrap/scss/utilities/_position.scss
bootstrap-4.0.0.beta2.1 assets/stylesheets/bootstrap/utilities/_position.scss
bootstrap-4.0.0.beta2 assets/stylesheets/bootstrap/utilities/_position.scss