간단한 반응형 폰트 설정 실전 팁
화면 크기에 따라 텍스트 크기가 너무 작거나 커져서 가독성이 깨짐.
html {
font-size: clamp(14px, 2vw, 18px);
}
clamp(최소값, 뷰포트기반중간값, 최대값)
예: 화면이 작으면 14px, 크면 18px까지 자동 조절
이 방법은 미디어쿼리 없이도 폰트 자동 스케일링이 되어 실무에서 매우 유용합니다.
html {
font-size: clamp(14px, 2vw, 18px);
}
clamp(최소값, 뷰포트기반중간값, 최대값)
예: 화면이 작으면 14px, 크면 18px까지 자동 조절
이 방법은 미디어쿼리 없이도 폰트 자동 스케일링이 되어 실무에서 매우 유용합니다.
게시판 목록
퍼블리싱강좌
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 88 | jQuery Mobile | 8년 전 | 1932 | ||
| 87 | jQuery Mobile | 8년 전 | 1911 | ||
| 86 | jQuery Mobile | 8년 전 | 1518 | ||
| 85 | jQuery Mobile | 8년 전 | 1829 | ||
| 84 | jQuery Mobile | 8년 전 | 1865 | ||
| 83 | jQuery Mobile | 8년 전 | 1881 | ||
| 82 | jQuery Mobile | 8년 전 | 1652 | ||
| 81 | jQuery Mobile | 8년 전 | 1370 | ||
| 80 | jQuery Mobile | 8년 전 | 1805 | ||
| 79 | jQuery Mobile | 8년 전 | 1355 | ||
| 78 | jQuery Mobile | 8년 전 | 1752 | ||
| 77 | jQuery Mobile | 8년 전 | 1778 | ||
| 76 | jQuery Mobile | 8년 전 | 1788 | ||
| 75 | jQuery Mobile | 8년 전 | 1399 | ||
| 74 | jQuery Mobile | 8년 전 | 1539 | ||
| 73 | jQuery Mobile | 8년 전 | 1246 | ||
| 72 | jQuery Mobile | 8년 전 | 1627 | ||
| 71 | jQuery Mobile | 8년 전 | 1620 | ||
| 70 | jQuery Mobile | 8년 전 | 1503 | ||
| 69 | jQuery Mobile | 8년 전 | 1509 | ||
| 68 | jQuery Mobile | 8년 전 | 2046 | ||
| 67 | jQuery Mobile | 8년 전 | 1315 | ||
| 66 | jQuery Mobile | 8년 전 | 1691 | ||
| 65 | jQuery Mobile | 8년 전 | 1183 | ||
| 64 | jQuery Mobile | 8년 전 | 1467 | ||
| 63 | jQuery Mobile | 8년 전 | 1655 | ||
| 62 | jQuery Mobile | 8년 전 | 1632 | ||
| 61 | jQuery Mobile | 8년 전 | 1874 | ||
| 60 | jQuery Mobile | 8년 전 | 1406 | ||
| 59 | jQuery Mobile | 8년 전 | 1964 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기