Loading…

Explain @if directive?

@if directive <and its other companions like @else if, @else allows the code to run only if the conditions are met

Example

                                        

@if <Boolean expression> {
      <statements>
}

Suggest An Answer

No suggestions avaliable!

Latest post from Sass Interview Questions

Ask Question