-
Notifications
You must be signed in to change notification settings - Fork 0
/
imageType02.html
197 lines (167 loc) · 4.65 KB
/
imageType02.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>이미지 유형02</title>
<style>
/* fonts */
@import url('https://webfontworld.github.io/gmarket/GmarketSans.css');
.gmark {
font-family: 'GmarketSans';
font-weight: 500;
}
/* reset */
* {
margin: 0;
padding: 0;
}
a {
text-decoration: none;
color: #000;
}
img {
width: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: normal;
}
/* common */
.container {
width: 1160px;
padding: 0 20px;
margin: 0 auto;
min-width: 1160px;
}
.section {
padding: 120px 0;
}
.section>h2 {
font-size: 50px;
line-height: 1;
text-align: center;
margin-bottom: 20px;
}
.section>p {
font-size: 22px;
font-weight: 300;
color: #666;
text-align: center;
margin-bottom: 70px;
}
/* imageType */
.image__inner {
display: flex;
justify-content: space-between;
}
.image {
width: 32%;
background-color: #ccc;
position: relative;
overflow: hidden;
}
.image__box {}
.image__box img {
vertical-align: top;
transition: all 0.6s ease-in-out
}
.image__desc {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
padding: 23px 20px;
text-align: center;
backdrop-filter: blur(10px);
box-sizing: border-box;
background-color: rgba(0,0,0,0.1);
bottom: -100px;
transition: all 0.3s ease-in-out
}
.image:hover .image__desc{
bottom: 0;
}
.image:hover .image__box img {
transform: scale(1.03);
}
.img1 .image__desc{
background-color: rgba(0,0,0,0.1);
}
.img2 .image__desc{
background-color: rgba(0,0,0,0.2);
}
.img3 .image__desc{
background-color: rgba(0,0,0,0.3);
}
.img1 .image__desc h3 {
color: #fff;
}
.img1 .image__desc .more {
color: #fff;
}
.img2 .image__desc h3 {
color: #fff;
}
.img2 .image__desc .more {
color: #fff;
}
.img3 .image__desc h3 {
color: #fff;
}
.img3 .image__desc .more {
color: #fff;
}
.image__desc h3 {
font-size: 24px;
margin-bottom: 5px;
}
.image__desc .more {
font-size: 16px;
}
.image__desc .more:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<section id="imageType01" class="image__wrap gmark section">
<h2>BEST 소품샵</h2>
<p>다양한 소품샵을 가 본 사람이 뽑은 최고의 소품샵 BEST3</p>
<div class="image__inner container">
<article class="image img1">
<figure class="image__box">
<img src="img/image_bg02_01.jpg" alt="">
</figure>
<div class="image__desc">
<h3>내가만든 기린키링</h3>
<a href="" class="more" title="자세히보기">자세히보기</a>
</div>
</article>
<article class="image img2">
<figure class="image__box">
<img src="img/image_bg02_02.jpg" alt="">
</figure>
<div class="image__desc">
<h3>자그마한 인테리어방</h3>
<a href="" class="more" title="자세히보기">자세히보기</a>
</div>
</article>
<article class="image img3">
<figure class="image__box">
<img src="img/image_bg02_03.jpg" alt="">
</figure>
<div class="image__desc">
<h3>오늘의 감성</h3>
<a href="" class="more" title="자세히보기">자세히보기</a>
</div>
</article>
</div>
</section>
</body>
</html>