Back to Sass

Flow Control Rules

source/documentation/at-rules/control/index.md

latest496 B
Original Source
  • @if controls whether or not a block is evaluated.

  • @each evaluates a block for each element in a list or each pair in a map.

  • @for evaluates a block a certain number of times.

  • @while evaluates a block until a certain condition is met.