부트 스트랩 텍스트 / 타이포그래피
부트 스트랩 텍스트 / 타이포그래피
부트 스트랩의 기본 설정
부트 스트랩의 전체 기본 글꼴 크기는 14px이고 줄 높이는 1.428입니다.
이것은 <body>요소와 모든 단락 ( <p>)에 적용됩니다 .
또한 모든 <p>요소에는 계산 된 선 높이의 절반 (기본적으로 10 픽셀)과 같은 아래쪽 여백이 있습니다.
부트 스트랩 대 브라우저 기본값
이 장에서는 부트 스트랩이 브라우저 기본값보다 조금 다르게 스타일을 지정할 일부 HTML 요소를 살펴 보겠습니다.
<h1> - <h6>
기본적으로 부트 스트랩은 다음과 같은 방법으로 HTML 표제 ( <h1>~ <h6>)의 스타일을 지정합니다 .
예
h1 Bootstrap heading (36px)
h2 Bootstrap heading (30px)
h3 Bootstrap heading (24px)
h4 Bootstrap heading (18px)
h5 Bootstrap heading (14px)
h6 Bootstrap heading (12px)
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<h1>h1 Bootstrap heading (36px)</h1>
<h2>h2 Bootstrap heading (30px)</h2>
<h3>h3 Bootstrap heading (24px)</h3>
<h4>h4 Bootstrap heading (18px)</h4>
<h5>h5 Bootstrap heading (14px)</h5>
<h6>h6 Bootstrap heading (12px)</h6>
</div>
</body>
</html>
부트 스트랩의 기본 설정
부트 스트랩의 전체 기본 글꼴 크기는 14px이고 줄 높이는 1.428입니다.
이것은 <body>요소와 모든 단락 ( <p>)에 적용됩니다 .
또한 모든 <p>요소에는 계산 된 선 높이의 절반 (기본적으로 10 픽셀)과 같은 아래쪽 여백이 있습니다.
부트 스트랩 대 브라우저 기본값
이 장에서는 부트 스트랩이 브라우저 기본값보다 조금 다르게 스타일을 지정할 일부 HTML 요소를 살펴 보겠습니다.
<h1> - <h6>
기본적으로 부트 스트랩은 다음과 같은 방법으로 HTML 표제 ( <h1>~ <h6>)의 스타일을 지정합니다 .
예
h1 Bootstrap heading (36px)
h2 Bootstrap heading (30px)
h3 Bootstrap heading (24px)
h4 Bootstrap heading (18px)
h5 Bootstrap heading (14px)
h6 Bootstrap heading (12px)
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<h1>h1 Bootstrap heading (36px)</h1>
<h2>h2 Bootstrap heading (30px)</h2>
<h3>h3 Bootstrap heading (24px)</h3>
<h4>h4 Bootstrap heading (18px)</h4>
<h5>h5 Bootstrap heading (14px)</h5>
<h6>h6 Bootstrap heading (12px)</h6>
</div>
</body>
</html>
게시판 목록
퍼블리싱강좌
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 118 | jQuery Mobile | 8년 전 | 1347 | ||
| 117 | jQuery Mobile | 8년 전 | 1597 | ||
| 116 | jQuery Mobile | 8년 전 | 1828 | ||
| 115 | jQuery Mobile | 8년 전 | 1782 | ||
| 114 | jQuery Mobile | 8년 전 | 1972 | ||
| 113 | jQuery Mobile | 8년 전 | 1882 | ||
| 112 | jQuery Mobile | 8년 전 | 2490 | ||
| 111 | jQuery Mobile | 8년 전 | 1795 | ||
| 110 | jQuery Mobile | 8년 전 | 1586 | ||
| 109 | jQuery Mobile | 8년 전 | 1749 | ||
| 108 | jQuery Mobile | 8년 전 | 1973 | ||
| 107 | jQuery Mobile | 8년 전 | 1773 | ||
| 106 | jQuery Mobile | 8년 전 | 1451 | ||
| 105 | jQuery Mobile | 8년 전 | 1751 | ||
| 104 | jQuery Mobile | 8년 전 | 2432 | ||
| 103 | jQuery Mobile | 8년 전 | 1564 | ||
| 102 | jQuery Mobile | 8년 전 | 1507 | ||
| 101 | jQuery Mobile | 8년 전 | 1700 | ||
| 100 | jQuery Mobile | 8년 전 | 1922 | ||
| 99 | jQuery Mobile | 8년 전 | 1382 | ||
| 98 | jQuery Mobile | 8년 전 | 1405 | ||
| 97 | jQuery Mobile | 8년 전 | 1660 | ||
| 96 | jQuery Mobile | 8년 전 | 1315 | ||
| 95 | jQuery Mobile | 8년 전 | 1128 | ||
| 94 | jQuery Mobile | 8년 전 | 1530 | ||
| 93 | jQuery Mobile | 8년 전 | 1149 | ||
| 92 | jQuery Mobile | 8년 전 | 1572 | ||
| 91 | jQuery Mobile | 8년 전 | 1522 | ||
| 90 | jQuery Mobile | 8년 전 | 1687 | ||
| 89 | jQuery Mobile | 8년 전 | 1668 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기