
관련 링크
- cdnjs
- 구글폰트
- 눈누폰트
- 부트스트랩 - 공식문서
- 데이지UI 컴포넌트 - 공식문서
- 테일윈드 - 공식문서
- 테일윈드 - 치트시트
- 테일윈드 - 치트시트
- 폰트어썸 - 아이콘
- 폰트어썸 - 아이콘, 모든 카테고리
- 폰트어썸 - 아이콘, 모든 무료아이콘
🏷️ 챕터 1 : 부트스트랩, 테일윈드 비교
1강
- 부트스트랩 5
- 데이지 UI
- 테일윈드 3
동영상
🏷️ 챕터 2 : 테일윈드 JIT
2강
- 테일윈드 - 공식문서 - Handling Hover, Focus, and Other States
- 테일윈드 - 공식문서 - JIT 모드 메뉴얼
- 테일윈드 - 공식문서 - CDN
- CODEPEN
3강
동영상
🏷️ 챕터 3 : 테일윈드 식 코딩방법
4강
동영상
🏷️ 챕터 4 : 이벤트 메뉴 구현
5강

[hrml]
<script src="https://cdn.tailwindcss.com"></script>
<div class="flex m-[20px] gap-[10px]">
<button class="hover:bg-black bg-[#F8F8F8] p-[8px_15px_5px_15px] rounded-[25px] hover:text-white">진행중인 이벤트</button>
<button class="hover:bg-black bg-black p-[8px_15px_5px_15px] rounded-[25px] text-white hover:text-white">전체</button>
<button class="hover:bg-black bg-[#F8F8F8] p-[8px_15px_5px_15px] rounded-[25px] hover:text-white">Big이벤트</button>
<button class="hover:bg-black bg-[#F8F8F8] p-[8px_15px_5px_15px] rounded-[25px] hover:text-white">기획전</button>
<button class="hover:bg-black bg-[#F8F8F8] p-[8px_15px_5px_15px] rounded-[25px] hover:text-white">사전 혜택</button>
<button class="hover:bg-black bg-[#F8F8F8] p-[8px_15px_5px_15px] rounded-[25px] hover:text-white">수강</button>
<button class="hover:bg-black bg-[#F8F8F8] p-[8px_15px_5px_15px] rounded-[25px] hover:text-white">매거진</button>
<button class="hover:bg-black bg-[#F8F8F8] p-[8px_15px_5px_15px] rounded-[25px] hover:text-white">당첨자</button>
<button class="hover:bg-black bg-[#F8F8F8] p-[8px_15px_5px_15px] rounded-[25px] hover:text-white">기타</button>
</div>
[css]
@font-face {
font-family: "GmarketSansMedium";
src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff")
format("woff");
font-weight: normal;
font-style: normal;
}
html > body {
font-family: "GmarketSansMedium";
}
🏷️ 챕터 5 : 반응형 상품리스트 구현
6강
- 반응형 이벤트상품리스트 레이아웃 구현
- 테일윈드 - 공식문서 - Container
- 테일윈드 - 공식문서 - Screens
- MDN - aspect-ratio
- MDN - object-fit
- CODEPEN - 시작

[html]
<script src="https://cdn.tailwindcss.com"></script>
<!-- mx:margin x축 -->
<div class="container mx-auto bg-red-500">
<!-- cols: column -->
<!-- sm:
@media (min-width: 640px) { ... }
md:
@media (min-width: 768px) { ... }
lg:
@media (min-width: 1024px) { ... }
xl:
@media (min-width: 1280px) { ... }
2xl:
@media (min-width: 1536px) { ... } -->
<ul clss="grid grid-cols-1 md:grid-cols-2 xl-grid-cols-3 gap-[20px]">
<li>
<a href="#">
<!-- aspect 비율 -->
<img class="aspect-[386/221] object-cover w-full" src="https://picsum.photos/id/237/752/442" alt="">
</a>
</li>
<li>
<a href="#">
<img class="aspect-[386/221] object-cover w-full" src="https://picsum.photos/id/231/802/442" alt="">
</a>
</li>
<li>
<a href="#">
<img class="aspect-[386/221] object-cover w-full" src="https://picsum.photos/id/100/752/302" alt="">
</a>
</li>
</ul>
</div>
[css]
@font-face {
font-family: "GmarketSansMedium";
src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff")
format("woff");
font-weight: normal;
font-style: normal;
}
html > body {
font-family: "GmarketSansMedium";
}
7강
- 반응형 이벤트상품리스트 텍스트 부분 구현
- CODEPEN - 시작
- CODEPEN - 정답 미리보기
[html]
<!-- 모바일기기에서 축소 금지 -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://cdn.tailwindcss.com"></script>
<div class="container mx-auto px-[10px]">
<ul class="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-[20px]">
<li class="group">
<a href="#">
<img class="aspect-[376/221] object-cover w-full" src="https://picsum.photos/id/237/752/442" alt="">
</a>
<a href="#" class="flex flex-col gap-1 mt-3 group-hover:underline">
<div class="text-xs font-bold">
BIG이벤트
</div>
<div class="text-gray-500">
댓글만 남겨도 클래스 0원 당첨 기회!
</div>
<div class="flex gap-2 text-xs">
<div class="text-[#fd3049]">D-12</div>
<div class="text-gray-400">22.05.26 (목)~22.06.07 (화)</div>
</div>
</a>
</li>
<li class="group">
<a href="#">
<img class="aspect-[376/221] object-cover w-full" src="https://picsum.photos/id/231/802/442" alt="">
</a>
<a href="#" class="flex flex-col gap-1 mt-3 group-hover:underline">
<div class="text-xs font-bold">
BIG이벤트
</div>
<div class="text-gray-500">
취향저격 클래스 추천받으면 시원한 커피가!
</div>
<div class="flex gap-2 text-xs">
<div class="text-[#fd3049]">D-5</div>
<div class="text-gray-400">22.05.26 (목)~22.05.31 (화)</div>
</div>
</a>
</li>
<li class="group">
<a href="#">
<img class="aspect-[376/221] object-cover w-full" src="https://picsum.photos/id/100/752/302" alt="">
</a>
<a href="#" class="flex flex-col gap-1 mt-3 group-hover:underline">
<div class="text-xs font-bold">
BIG이벤트
</div>
<div class="text-gray-500">
최대 20만원 랜덤쿠폰을 받아요!
</div>
<div class="text-xs">
<div class="text-[#2897FB]">상시이벤트</div>
</div>
</a>
</li>
</ul>
</div>
동영상
- 2603, CSS 라이브러리, 테일윈드, 챕터 5, 반응형 이벤트상품리스트 레이아웃 구현
- 2603, CSS 라이브러리, 테일윈드, 챕터 5, 반응형 이벤트상품리스트 텍스트 부분 구현
🏷️ 챕터 6 : 호버효과
8강
- 이미지 호버 효과
- CODEPEN - 시작
- CODEPEN - 정답 미리보기
- CODEPEN - 정답
9강
- 이미지 호버 효과를 테일윈드 방식으로 변경, 1단계, before
- CODEPEN - 시작
- CODEPEN - 정답 미리보기
- CODEPEN - 정답
10강
- 이미지 호버 효과를 테일윈드 방식으로 변경, 2단계, 이미지
- CODEPEN - 시작
- CODEPEN - 정답 미리보기
[html]
<script src="https://cdn.tailwindcss.com"></script>
<div class="group">
<a href="#" class="img-box block relative overflow-hidden before:content-[''] before:absolute before:inset-0 before:bg-[rgba(0,0,0,0)] hover:before:bg-[rgba(0,0,0,.8)] before:transition before:duration-200">
<img class="relative -z-50 group-hover:scale-150 duration-200" src="https://picsum.photos/id/231/500/500" alt="">
</a>
</div>
[css]
@font-face {
font-family: "GmarketSansMedium";
src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff")
format("woff");
font-weight: normal;
font-style: normal;
}
html > body {
font-family: "GmarketSansMedium";
}
body {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
11강
- 이미지 호버 효과를 테일윈드 방식으로 변경, 3단계, after
- CODEPEN - 시작
- CODEPEN - 정답 미리보기
- CODEPEN - 정답
번외
- 클래스101 반응형 이벤트상품리스트에 이미지 호버효과를 적용
- CODEPEN - 시작
- CODEPEN - 정답 미리보기
- CODEPEN - 정답
동영상
'코딩 > 수업메모' 카테고리의 다른 글
| SASS/SCSS (0) | 2026.03.20 |
|---|---|
| SCSS(SASS) 기초 (0) | 2026.03.19 |
| Git, GitHub 기초 (0) | 2026.03.18 |
| 깃 명령어 정리 (0) | 2026.03.18 |
| HTML, CSS, JS 활용 - 27 ~ 29강 (0) | 2026.03.17 |