Tell us what’s happening:
Describe your issue in detail here.
Your code so far
<style type='text/scss'>
@each $color in blue, black, red {
.#{$color}-bg {
color: $color;
}
}
div {
height: 200px;
width: 200px;
}
</style>
<div class="blue-bg">df</div>
<div class="black-bg">df</div>
<div class="red-bg">df</div>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Challenge Information:
SASS - Use @each to Map Over Items in a List