Inflearn Community Q&A
인자에 달러$ 표시는 권장 컨벤션인가요?
Written on
·
442
0
인자에 작성하신 $표시는 scss mixin인자를 작성할때 넣으면 좋은 규칙인가요?
sassHTML/CSS
Quiz
50% of people got it wrong. Give it a try!
What is the main reason for using Sass variables?
To reduce CSS file size
To make it easy to modify by managing repeated values in one place
To speed up CSS performance
To improve browser compatibility
Answer 2
0
0
DEvSIGNER
Instructor
네 안녕하세요
$표시는 변수나 인자임을 알리기 위한 표시입니다.
예를 들어 인자 이름을 background-color 이렇게 주면 css의 background-color와 같게되어 어떠한 오류를 유발할 수 있으니
$background-color라는 이름으로 $를 붙여주면 구분이 되어 오류 같은 것들을 방지하는 것이죠





