@mixin, @include
@mixin, @include 가장 많이 사용되는 기능 중 하나로, 선언 시 @mixin, 적용 시 @include 를 사용합니다. 재사용 함으로써 자원을 줄일 수 있음. $: 변수, @mixin: 함수, @include: 함수 호출 이라고 생각하면 편할 거 같습니다. scss $marginBottom: 30px; $left: left; $solid: 1px solid; @mixin mbottom { margin-bottom: $marginBottom; } @mixin test { width: 100px; height: 100px; border: 1px solid red; } @mixin clear { &:after { content: ""; display: block; clear: both; } } ...
개발../Sass(Scss)
2021. 10. 17. 18:41
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- nuxt2
- seo
- 스벨트
- svelte
- 네이버 서치 어드바이저
- 티스토리챌린지
- vue router
- vscode
- Github Actions
- Vite
- React
- nodejs
- Git
- NextJS
- cors
- openAI
- NUXT
- AWS
- github
- ChatGPT
- 서버 to 서버
- 타입스크립트
- dockerfile
- vue composition api
- 깃허브
- nextjs13
- 오블완
- nextjs15
- Zustand
- nextjs14
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
글 보관함