Layout von Websiten mit Bootstrap und Foundation
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_position.scss 484B

1234567891011121314151617181920212223242526272829303132
  1. // stylelint-disable declaration-no-important
  2. // Common values
  3. @each $position in $positions {
  4. .position-#{$position} { position: $position !important; }
  5. }
  6. // Shorthand
  7. .fixed-top {
  8. position: fixed;
  9. top: 0;
  10. right: 0;
  11. left: 0;
  12. z-index: $zindex-fixed;
  13. }
  14. .fixed-bottom {
  15. position: fixed;
  16. right: 0;
  17. bottom: 0;
  18. left: 0;
  19. z-index: $zindex-fixed;
  20. }
  21. .sticky-top {
  22. @supports (position: sticky) {
  23. position: sticky;
  24. top: 0;
  25. z-index: $zindex-sticky;
  26. }
  27. }