condition.
Control directives are complex and aren’t typically used on a daily basis. They are mainly used in mixins
Chapter 2
■
IntroduCtIon to SaSS
31
@if
This control directive takes an expression and applies the associated style if
the expression evaluates to
something other than false or null, as shown in Listing
2-45
.
Do'stlaringiz bilan baham: