박스 모델 완전 이해
모든 HTML 요소는 사각형 박스 형태로 구성되며, 다음 4개 층으로 이루어져 있습니다
Content – 텍스트나 이미지 등 실제 내용
Padding – 내용과 테두리 사이의 안쪽 여백
Border – 요소의 테두리
Margin – 요소와 바깥 요소 사이의 간격
.box {
padding: 20px;
border: 2px solid #000;
margin: 30px;
}
위 코드는 콘텐츠를 기준으로 안쪽 여백 20px, 테두리 2px, 바깥쪽 여백 30px을 설정합니다.
Content – 텍스트나 이미지 등 실제 내용
Padding – 내용과 테두리 사이의 안쪽 여백
Border – 요소의 테두리
Margin – 요소와 바깥 요소 사이의 간격
.box {
padding: 20px;
border: 2px solid #000;
margin: 30px;
}
위 코드는 콘텐츠를 기준으로 안쪽 여백 20px, 테두리 2px, 바깥쪽 여백 30px을 설정합니다.
게시판 목록
퍼블리싱강좌
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 88 | jQuery Mobile | 8년 전 | 1935 | ||
| 87 | jQuery Mobile | 8년 전 | 1915 | ||
| 86 | jQuery Mobile | 8년 전 | 1526 | ||
| 85 | jQuery Mobile | 8년 전 | 1834 | ||
| 84 | jQuery Mobile | 8년 전 | 1868 | ||
| 83 | jQuery Mobile | 8년 전 | 1883 | ||
| 82 | jQuery Mobile | 8년 전 | 1656 | ||
| 81 | jQuery Mobile | 8년 전 | 1371 | ||
| 80 | jQuery Mobile | 8년 전 | 1808 | ||
| 79 | jQuery Mobile | 8년 전 | 1356 | ||
| 78 | jQuery Mobile | 8년 전 | 1756 | ||
| 77 | jQuery Mobile | 8년 전 | 1782 | ||
| 76 | jQuery Mobile | 8년 전 | 1790 | ||
| 75 | jQuery Mobile | 8년 전 | 1401 | ||
| 74 | jQuery Mobile | 8년 전 | 1541 | ||
| 73 | jQuery Mobile | 8년 전 | 1247 | ||
| 72 | jQuery Mobile | 8년 전 | 1629 | ||
| 71 | jQuery Mobile | 8년 전 | 1622 | ||
| 70 | jQuery Mobile | 8년 전 | 1506 | ||
| 69 | jQuery Mobile | 8년 전 | 1514 | ||
| 68 | jQuery Mobile | 8년 전 | 2050 | ||
| 67 | jQuery Mobile | 8년 전 | 1316 | ||
| 66 | jQuery Mobile | 8년 전 | 1694 | ||
| 65 | jQuery Mobile | 8년 전 | 1186 | ||
| 64 | jQuery Mobile | 8년 전 | 1468 | ||
| 63 | jQuery Mobile | 8년 전 | 1658 | ||
| 62 | jQuery Mobile | 8년 전 | 1639 | ||
| 61 | jQuery Mobile | 8년 전 | 1876 | ||
| 60 | jQuery Mobile | 8년 전 | 1410 | ||
| 59 | jQuery Mobile | 8년 전 | 1967 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기