public
Created

  • Download Gist
gistfile1.scss
SCSS
1 2 3 4 5 6 7
$bgcolor:cyan;
.sidebar{
@if $bgcolor==blue {background-color:#0000ff; color:#ffffff;}
@else if $bgcolor==red {background-color:#ff0000; color:#ffffff;}
@else if $bgcolor==cyan{background-color: #00ffff; color:#cccccc;}
@else {background-color:#ffffff;color:#000000;}
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.