GridRowStartEnd.scss 346 B

123456789101112
  1. // Grid Row Start / End
  2. .row-auto {grid-row: auto;}
  3. @for $i from 1 through 7 {
  4. @if($i < 7) {
  5. .row-span-#{$i} {grid-row: span #{$i} / span #{$i};}
  6. }
  7. .row-start-#{$i} {grid-row-start: #{$i};}
  8. .row-end-#{$i} {grid-row-end: #{$i};}
  9. }
  10. .row-span-full {grid-row: 1 / -1;}
  11. .row-start-auto {grid-row-start: auto;}
  12. .row-end-auto {grid-row-end: auto;}