Render Flow - @else and @else if branches
Read @if condition
Condition true?
yes→Apply styles in @if block
no
Check @else if condition
Condition true?
yes→Apply styles in @else if block
no
Apply styles in @else block if present
Finish processing conditional blocks
The Sass compiler processes conditionals by checking each condition in order. It outputs styles from the first true condition block it finds, skipping the rest.