scss 작성시 일정한 규칙에 의해 작성해주는 것이 좋다고 한다.
순서는 아래와 같다.
- Layout Properties (position, float, clear, display)
- Box Model Properties (width, height, margin, padding)
- Visual Properties (color, background, border, box-shadow)
- Typography Properties (font-size, font-family, text-align, text-transform)
- Misc Properties (cursor, overflow, z-index)
import 컨벤션도 추가
- React
- Library(Package)
- Component
- 변수 / 이미지
- css 파일(scss 파일)