폴라로이드 이미지 / 카드
폴라로이드 이미지 / 카드

예
div.polaroid {
width: 80%;
background-color: white;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
img {width: 100%}
div.container {
text-align: center;
padding: 10px 20px;
}
[전체소스]
<!DOCTYPE html>
<html>
<head>
<style>
body {margin:25px;}
div.polaroid {
width: 80%;
background-color: white;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
margin-bottom: 25px;
}
div.container {
text-align: center;
padding: 10px 20px;
}
</style>
</head>
<body>
<h2>Responsive Polaroid Images / Cards</h2>
<div class="polaroid">
<img src="rock600x400.jpg" alt="Norway" style="width:100%">
<div class="container">
<p>The Troll's tongue in Hardanger, Norway</p>
</div>
</div>
<div class="polaroid">
<img src="lights600x400.jpg" alt="Norway" style="width:100%">
<div class="container">
<p>Northern Lights in Norway</p>
</div>
</div>
</body>
</html>
게시판 목록
퍼블리셔팁
질문은 상단의 QA에서 해주시기 바랍니다.
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 1277 | 기타 |
선택과집중
|
2개월 전 | 148 | |
| 1276 | CSS |
선택과집중
|
2개월 전 | 270 | |
| 1275 | CSS |
선택과집중
|
2개월 전 | 269 | |
| 1274 | CSS |
선택과집중
|
3개월 전 | 461 | |
| 1273 | 기타 |
선택과집중
|
4개월 전 | 400 | |
| 1272 | CSS |
선택과집중
|
4개월 전 | 531 | |
| 1271 | CSS |
선택과집중
|
5개월 전 | 579 | |
| 1270 | CSS |
선택과집중
|
5개월 전 | 457 | |
| 1269 | CSS |
선택과집중
|
5개월 전 | 539 | |
| 1268 | CSS | 6개월 전 | 427 | ||
| 1267 | 10개월 전 | 707 | |||
| 1266 | HTML | 10개월 전 | 837 | ||
| 1265 | CSS |
|
1년 전 | 768 | |
| 1264 | 1년 전 | 1258 | |||
| 1263 | HTML |
|
1년 전 | 790 | |
| 1262 | CSS |
|
1년 전 | 995 | |
| 1261 | CSS |
|
1년 전 | 1008 | |
| 1260 | HTML | 2년 전 | 1490 | ||
| 1259 | 기타 | 2년 전 | 828 | ||
| 1258 | CSS |
|
2년 전 | 1586 | |
| 1257 | HTML |
|
2년 전 | 1372 | |
| 1256 | CSS |
돈도없어개발하기도시러
|
2년 전 | 1272 | |
| 1255 | 2년 전 | 3611 | |||
| 1254 | 2년 전 | 4795 | |||
| 1253 | 2년 전 | 1553 | |||
| 1252 | 레이아웃 |
swallow
|
2년 전 | 1785 | |
| 1251 | 웹접근성 |
두리삼촌v
|
2년 전 | 2058 | |
| 1250 | 레이아웃 |
두리삼촌v
|
2년 전 | 1692 | |
| 1249 | 레이아웃 |
두리삼촌v
|
2년 전 | 3216 | |
| 1248 | 기타 |
돈도없어개발하기도시러
|
2년 전 | 1148 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기