css가 동작하기전에 먼저 사용이 된다.
mixin 구문의 차이
세미클론(;) 과 중괄호({})의 차이
.section
width:300px
height:300px
.dep1
color:red
border:1px solid black
font-size:12px
.section {
width:300px;
height:300px;
.dep1 {
color:red;
border:1px solid black;
font-size:12px;
}
}
출처
https://fastcampus.co.kr/
한번에 끝내는 프론트엔드 개발 초격차 패키지 Online.