Can I reassign a SASS variable based on viewport width (media queries)

前端 未结 0 1744
我在风中等你
我在风中等你 2021-01-03 11:04

Using SASS, it\'s great to be able to make a variable \'out in the open\' (out-with a CSS selector):

$color: red;

div { 
 background-color: $color;
}

/*hund         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题