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에서 해주시기 바랍니다.
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 107 | HTML |
홀로남은자
|
19년 전 | 3334 | |
| 106 | HTML | 19년 전 | 3217 | ||
| 105 | HTML |
그레이스웹
|
19년 전 | 4948 | |
| 104 | HTML |
|
19년 전 | 6287 | |
| 103 | HTML |
|
19년 전 | 5265 | |
| 102 | HTML |
|
19년 전 | 4624 | |
| 101 | HTML |
|
19년 전 | 3437 | |
| 100 | HTML |
|
19년 전 | 6187 | |
| 99 | HTML |
|
19년 전 | 5021 | |
| 98 | HTML |
|
19년 전 | 3444 | |
| 97 | HTML |
|
19년 전 | 4439 | |
| 96 | HTML | 19년 전 | 6877 | ||
| 95 | HTML | 19년 전 | 4332 | ||
| 94 | HTML | 19년 전 | 3217 | ||
| 93 | HTML | 19년 전 | 5756 | ||
| 92 | HTML | 19년 전 | 4150 | ||
| 91 | HTML |
|
19년 전 | 5180 | |
| 90 | HTML |
|
19년 전 | 3238 | |
| 89 | HTML |
|
19년 전 | 3162 | |
| 88 | HTML |
|
19년 전 | 3628 | |
| 87 | HTML | 19년 전 | 5164 | ||
| 86 | HTML | 19년 전 | 4810 | ||
| 85 | HTML | 19년 전 | 4139 | ||
| 84 | HTML |
|
19년 전 | 3492 | |
| 83 | HTML |
|
19년 전 | 3152 | |
| 82 | HTML | 19년 전 | 4918 | ||
| 81 | HTML |
|
19년 전 | 4131 | |
| 80 | HTML | 19년 전 | 4451 | ||
| 79 | HTML | 19년 전 | 3583 | ||
| 78 | HTML |
|
19년 전 | 4919 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기