<div class="box"></div>
$bg-primary: red;
$bg-hover:orange;
.box {
width: 100px;
height: 100px;
border-radius: 10px;
background-color: $bg-primary;
&:hover{
background-color:$bg-hover ;
}
}
View Compiled
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.