반응형
Sass변수
-
Sass(SCSS) 기본 공부 2 변수HTML5_CSS3/sass 2023. 4. 6. 00:45
Sass/SCSS 공부 2 Sass(SCSS) 기본 공부 1 https://raim-2.tistory.com/17 Sass(SCSS) 기본 공부 1 *나나님의 아무튼 Sass 시리즈 + W3school 을 보고 공부합니다. CSS 전처리기 자신만의 문법을 가지고, CSS 생성하도록 하는 프로그램 CSS의 단점인 단순 반복 등을 보완하기 위해 생긴 프로그램 정규 CS raim-2.tistory.com Sass/SCSS 변수 (variables) Sass에서는 반복적으로 사용되는 값을 변수로 사용이 가능하다. 변수는 $기호를 사용해 선언할 수 있다. 변수의 값으로는 문자열, 숫자, 불리언, 색상, null 등 다양한 값을 담을 수 있다. 변수는 CSS로 컴파일하면, CSS 파일에 보이지 않는다. //$변수명..