-
Notifications
You must be signed in to change notification settings - Fork 0
/
cardType03.html
226 lines (206 loc) · 6.69 KB
/
cardType03.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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
<!DOCTYPE html>
<html lang="en">
<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>카드 유형03</title>
<style>
/* fonts */
@import url('https://webfontworld.github.io/score/SCoreDream.css');
.score {
font-family: 'SCoreDream';
font-weight: 400;
}
/* 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;
}
/* blind : 접근성을 이유 */
.blind {
position:absolute;
clip:rect(0 0 0 0);
width:1px;
height:1px;
margin:-1px;
overflow:hidden;
}
/* cardType03 */
body {
background-color: #2254c3;
}
.card__inner {
display: flex;
}
.card__inner .card {
padding: 26px;
width: 33.3333%;
background-color: #fff;
}
.card__inner .card:nth-child(1) {
border: 1px solid #eee;
}
.card__inner .card:nth-child(2) {
border: 1px solid #eee;
}
.card__header {
position: relative;
}
.card__header img {
border-radius: 10px;
box-shadow: 4px 4px 5px 0 rgba(0, 0, 0, 0.05);
margin-bottom: 20px;
}
.card__header dd{
position: absolute;
right: 10px;
top: 10px;
padding: 6px 16px;
border-radius: 50px;
background-color: #fff;
text-align: center;
font-size: 14px;
color: #7b7b7b;
}
.card__contents h3 {
font-size: 20px;
line-height: 1.4;
margin-bottom: 10px;
width:100px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.card__contents p {
color: #666;
font-size: 16px;
line-height: 1.7;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
margin-bottom: 30px;
}
.card__footer {
display: flex;
justify-content: flex-end;
}
.card__footer h4 {
text-align: right;
color : #dd2a2a
}
.card__footer em {
display: block;
color: #666;
font-style: normal;
}
.card__footer span {
width: 40px;
height: 40px;
background-color: #000;
border-radius: 50%;
overflow: hidden;
display: block;
margin-left: 10px;
margin-top: -3px;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.25);
}
.card__footer span img {
width: 40px;
height: 40px;
}
</style>
</head>
<body>
<section id="cardType03" class="card__wrap score section" >
<h2 class="blind">건축의 세계</h2>
<div class="card__inner container">
<article class="card">
<figure class="card__header">
<img src="img/card_bg03_01.jpg" alt="Architects">
<dd>Animals</dd>
</figure>
<div class="card__contents">
<h3>동물의 종류는 다양합니다.
동물은 육식동물, 초식동물 등등.</h3>
<p>대체적으로 긴 귀와 솜뭉치 모양으로 위쪽으로 짧아 보이게 말려 있는 꼬리 길이는 생각보다 길다앞다리보다 훨씬 긴 뒷다리를 이용하여 깡충깡충 뛰어다닌다.</p>
</div>
<div class="card__footer">
<h4>동물박사 <em>Doctor of Animals</em></h4>
<span><img src="img/Rectangle 13.png" alt=""></span>
</div>
</article>
<article class="card">
<figure class="card__header">
<img src="img/card_bg03_02.jpg" alt="Architects">
<dd>Animals</dd>
</figure>
<div class="card__contents">
<h3>동물의 종류는 다양합니다.
동물은 육식동물, 초식동물 등등.</h3>
<p>용맹한 이미지와 달리 수컷 사자는 하루의 20시간을 그늘에서 쉬며 보낸다. 이 때문에 게으른 이미지가 강하지만, 이는 재생산 효율의 문제이며 본래 사냥 실력은 고양잇과답게 매우 뛰어나다. </p>
</div>
<div class="card__footer">
<h4>동물박사 <em>Doctor of Animals</em></h4>
<span><img src="img/Rectangle 13.png" alt=""></span>
</div>
</article>
<article class="card">
<figure class="card__header">
<img src="img/card_bg03_03.jpg" alt="Architects">
<dd>Animals</dd>
</figure>
<div class="card__contents">
<h3>동물의 종류는 다양합니다.
동물은 육식동물, 초식동물 등등.</h3>
<p>북극 지방에 서식하는 곰. 현존하는 곰 중에서 가장 큰 곰이다. 겉모습은 귀엽지만 무서운 맹수이며, 발가락 사이에 물갈퀴가 있어서 헤엄도 기가 막히게 잘 친다</p>
</div>
<div class="card__footer">
<h4>동물박사 <em>Doctor of Animals</em></h4>
<span><img src="img/Rectangle 13.png" alt=""></span>
</div>
</article>
</div>
</section>
</body>
</html>