css 이미지 갤러리
이미지 갤러리
다음 이미지 갤러리는 CSS로 생성됩니다.
예
<html>
<head>
<style>
div.gallery {
margin: 5px;
border: 1px solid #ccc;
float: left;
width: 180px;
}
div.gallery:hover {
border: 1px solid #777;
}
div.gallery img {
width: 100%;
height: auto;
}
div.desc {
padding: 15px;
text-align: center;
}
</style>
</head>
<body>
<div class="gallery">
<a target="_blank" href="fjords.jpg">
<img src="fjords.jpg" alt="Fjords" width="300" height="200">
</a>
<div class="desc">Add a description of the image here</div>
</div>
<div class="gallery">
<a target="_blank" href="forest.jpg">
<img src="forest.jpg" alt="Forest" width="300" height="200">
</a>
<div class="desc">Add a description of the image here</div>
</div>
<div class="gallery">
<a target="_blank" href="lights.jpg">
<img src="lights.jpg" alt="Northern Lights" width="300" height="200">
</a>
<div class="desc">Add a description of the image here</div>
</div>
<div class="gallery">
<a target="_blank" href="mountains.jpg">
<img src="mountains.jpg" alt="Mountains" width="300" height="200">
</a>
<div class="desc">Add a description of the image here</div>
</div>
</body>
</html>

게시판 목록
퍼블리셔팁
질문은 상단의 QA에서 해주시기 바랍니다.
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 137 | HTML | 19년 전 | 3775 | ||
| 136 | HTML |
pearly
|
19년 전 | 4131 | |
| 135 | HTML | 19년 전 | 4233 | ||
| 134 | HTML |
pearly
|
19년 전 | 4647 | |
| 133 | HTML |
|
19년 전 | 3271 | |
| 132 | HTML |
|
19년 전 | 3129 | |
| 131 | HTML |
|
19년 전 | 2804 | |
| 130 | HTML |
|
19년 전 | 3681 | |
| 129 | HTML |
|
19년 전 | 2742 | |
| 128 | HTML |
|
19년 전 | 3335 | |
| 127 | HTML |
|
19년 전 | 8589 | |
| 126 | HTML |
|
19년 전 | 2539 | |
| 125 | HTML |
|
19년 전 | 3003 | |
| 124 | HTML |
|
19년 전 | 5350 | |
| 123 | HTML |
|
19년 전 | 2925 | |
| 122 | HTML |
|
19년 전 | 2835 | |
| 121 | HTML |
|
19년 전 | 3434 | |
| 120 | HTML | 19년 전 | 3197 | ||
| 119 | HTML |
|
19년 전 | 3181 | |
| 118 | HTML | 19년 전 | 5067 | ||
| 117 | HTML |
|
19년 전 | 3644 | |
| 116 | HTML | 19년 전 | 3504 | ||
| 115 | HTML | 19년 전 | 3895 | ||
| 114 | HTML |
|
19년 전 | 3855 | |
| 113 | HTML |
|
19년 전 | 5279 | |
| 112 | HTML |
|
19년 전 | 3610 | |
| 111 | HTML | 19년 전 | 4088 | ||
| 110 | HTML |
|
19년 전 | 3515 | |
| 109 | HTML | 19년 전 | 4861 | ||
| 108 | HTML |
홀로남은자
|
19년 전 | 2975 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기