음악, 삶, 개발

sass 기본 문법 본문

개발 Web/HTML & CSS

sass 기본 문법

Lee_____ 2021. 11. 28. 08:51
/* 

    Generated using SCSS at https://www.sassmeister.com/
    This is code.

    @for $i from 1 through 4 {
        
    .my-bg-color-#{$i} {

        background-color: hsl(360 / 64 * ($i - 1), 38%, 43%);

    }
    
}