Post

SCSS 특정 클래스를 포함했는지 감지하여 스타일 적용하기

스타일 속성에서 &:not() 사용

1
2
3
4
5
6
7
[class*='icon-'] {
        margin: 0;
        &:not(.black) {
            color: $white;
        }
    }
    ~~~
This post is licensed under CC BY 4.0 by the author.