Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- 모달
- TAILWIND
- route
- 검색
- 스크롤 이벤트 감지
- 호버
- flex-1
- 셀렉트박스 커스텀
- prisma
- angular route
- summary
- ApexChart
- Angular Router
- Oracle LISTAGG 사용 예시
- formgroup
- Router
- ajax 사용 예시
- modal
- egov spring ajax 사용 예시
- angular modal
- angular animation
- mysql if
- 앵귤러 모달
- 아이오닉 스크롤 이벤트
- scroll
- 앵귤러 애니메이션
- angular button
- Ionic modal
- 옵저버블
- 스크롤 이벤트
Archives
- Today
- Total
깜놀하는 해므찌로
css 줄바꿈 / flex-wrap 본문
반응형
SMALL
<div class="m-10 flex h-20 w-full items-stretch border border-gray-800 p-2 flex-wrap">
<div class="w-1/3 bg-red-500"></div>
<div class="w-1/3 bg-green-500"></div>
<div class="w-1/3 bg-blue-500"></div>
<div class="w-1/3 bg-yellow-500"></div>
</div>
1. 부모 요소 flex 필수 : axis 기준으로 정렬을 결정할 것 이기 때문
2. flex-wrap : 줄바꿈 요소
3. 자식요소 w-1/3 : 33.333...% 를 차지하며 이를 넘어갈 시 자동 줄바꿈
4. imtems-stretch : subAxis 기준으로 부족한 부분은 자식 요소를 늘려서 가득 채우도록 함
반응형
LIST
'IT' 카테고리의 다른 글
Angular i-con 앵귤러 아이콘 활용 예시 icon (0) | 2023.06.08 |
---|---|
Tailwind max-width unlimit CSS 맥스 사이즈 리미트 해제 (0) | 2023.06.07 |
angular navigateByUrl 예시 (0) | 2023.06.06 |
app.config ionic / router outlet / angular router (0) | 2023.06.05 |
nx angular tailwind install cli (0) | 2023.06.05 |