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

예
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에서 해주시기 바랍니다.
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 47 | HTML |
|
19년 전 | 4543 | |
| 46 | HTML |
|
19년 전 | 5408 | |
| 45 | HTML | 19년 전 | 3296 | ||
| 44 | HTML |
|
19년 전 | 4378 | |
| 43 | HTML | 19년 전 | 3792 | ||
| 42 | HTML |
|
19년 전 | 3770 | |
| 41 | HTML |
|
19년 전 | 4268 | |
| 40 | HTML |
세은아빠2
|
19년 전 | 3933 | |
| 39 | HTML | 19년 전 | 4283 | ||
| 38 | HTML |
|
20년 전 | 6042 | |
| 37 | HTML |
yesmoa
|
20년 전 | 6720 | |
| 36 | HTML | 20년 전 | 3829 | ||
| 35 | HTML | 20년 전 | 5033 | ||
| 34 | HTML | 20년 전 | 4507 | ||
| 33 | HTML | 20년 전 | 3737 | ||
| 32 | HTML | 20년 전 | 3827 | ||
| 31 | HTML | 20년 전 | 4582 | ||
| 30 | HTML |
|
20년 전 | 6664 | |
| 29 | HTML |
|
20년 전 | 8600 | |
| 28 | HTML | 20년 전 | 7232 | ||
| 27 | HTML | 20년 전 | 4087 | ||
| 26 | HTML | 20년 전 | 2568 | ||
| 25 | HTML | 20년 전 | 3075 | ||
| 24 | HTML | 20년 전 | 6833 | ||
| 23 | HTML | 21년 전 | 4902 | ||
| 22 | HTML | 21년 전 | 4841 | ||
| 21 | HTML | 21년 전 | 3694 | ||
| 20 | HTML | 21년 전 | 4830 | ||
| 19 | HTML | 21년 전 | 4722 | ||
| 18 | HTML |
prosper
|
21년 전 | 3562 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기