-
Notifications
You must be signed in to change notification settings - Fork 0
/
cards.html
350 lines (335 loc) · 19 KB
/
cards.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
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
<!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">
<link rel="stylesheet" href="component-ui.css">
<link rel="icon" href="ic.ico">
<title>Cards</title>
<script src="https://kit.fontawesome.com/aa04ad0668.js" crossorigin="anonymous"></script>
<style>
#card {
background-color: #3a776c;
background: rgba(0,0,0,0.5);
backdrop-filter: blur(10px);
}
</style>
</head>
<body>
<div class="container">
<!-- Top Navigation -->
<nav class="nav">
<div class="navigation-top">
<div id="start">
<span id="menu-toggle" onclick="mainSide()"><i class="fas fa-bars"></i></span>
<span id="web-name">COLOR COMPONENTS</span>
</div>
</div>
</nav>
<!-- Side Navigation -->
<div id="side">
<ul id="side-list">
<div class="logo">
<a href="index.html">
<img src="https://bit.ly/3GOvMbM" /></a>
</div>
<li id="avatars"><a href="avatars.html"> Avatars</a></li>
<li id="alert"><a href="Alert.html"> Alert</a></li>
<li id="audio"><a href="Audio-component.html">Audio</a></li>
<li id="btn"><a href="buttons.html"> Buttons</a></li>
<li id="card"><a href="cards.html"> Cards</a></li>
<li id="chips"><a href="Chips.html"> Chips</a></li>
<li id="images"><a href="images.html"> Images</a></li>
<li id="login"><a href="Login.html"> Login Forms</a></li>
<li id="modals"><a href="Modals.html"> Modal</a></li>
<li id="navbar"><a href="Navbar.html"> Navbar</a></li>
<li id="snack"><a href="snackbar.html"> Snackbar</a></li>
</ul>
</div>
<!-- Main Content -->
<div class="cont" id="page-cont">
<span class="heading">Cards</span>
<p class="component-description">
A card is a small rectangular module with images and text. It is an entry point for users to learn more
details. To balance the aesthetics and usability of the interface, card UI design is basically a default
choice. Because cards are easy to use, they can also display content that contains different elements.
<br>
<br>
<span>
Ex:- E-commerce Websites, Social Media Websites, Coding Platforms,etc.
</span>
</p>
<!-- Component Title -->
<span id="basic-card-title" class="sub-heading">Basic Card</span>
<span id="overtext-card-title" class="sub-heading">TextOver Card</span>
<span id="header-card-title" class="sub-heading">Header Card</span>
<span id="horizontal-card-title" class="sub-heading">Horizontal Card</span>
<div class="preview">
<div class="content-preview">
<!-- Basic Card -->
<div id="basic-card-demo">
<div class="card-image">
<img src="1.jfif" alt="basic card image" class="img-card">
</div>
<div class="card-content">
<h2 class="card-title">Nature</h2>
<h4 class="card-subtitle">by Ayush Raj</h4>
<p class="card-description">Nature can refer to the general realm of living plants and
animals,
and in some cases to the processes associated with inanimate objects</p>
</div>
<div class="card-buttons">
<span class="card-links">
<a href="#" class="card-link">READ</a>
<a href="#" class="card-link">BOOKMARK</a>
</span>
<span class="card-buttons">
<span class="card-btns"><a href="#" class="card-btns-link"><i
class="far fa-heart"></i></a></span>
<span class="card-btns"><a href="#" class="card-btns-link"><i
class="fa-solid fa-share"></i></a></span>
<span class="card-btns"><a href="#" class="card-btns-link"><i
class="fa-solid fa-caret-down"></i></a></span>
</span>
</div>
</div>
<!-- OverText Card -->
<div id="overtext-card-demo">
<div class="card-image">
<img src="2.jpg" alt="img" class="img-card">
<div class="card-content">
<h2 class="card-title overtext">Our Changing Planet</h2>
<h4 class="card-subtitle">by Ayush Raj</h4>
</div>
</div>
<p class="card-description">
Nature can refer to the general realm of living plants and animals, and in some cases to the
processes associated with inanimate objects
</p>
<div class="card-buttons">
<span class="card-links">
<a href="#" class="card-link">READ</a>
<a href="#" class="card-link">BOOKMARK</a>
</span>
<span class="card-buttons">
<span class="card-btns"><a href="#" class="card-btns-link"><i
class="far fa-heart"></i></a></span>
<span class="card-btns"><a href="#" class="card-btns-link"><i
class="fa-solid fa-share"></i></a></span>
<span class="card-btns"><a href="#" class="card-btns-link"><i
class="fa-solid fa-caret-down"></i></a></span>
</span>
</div>
</div>
<!-- Header Card -->
<div id="header-card-demo">
<div class="card-content">
<h2 class="card-title">Our Changing Planet</h2>
<h4 class="card-subtitle">by Ayush Raj</h4>
</div>
<div class="card-image">
<img src="3.jpg" alt="img" class="img-card">
</div>
<p class="card-description">
Nature can refer to the general realm of living plants and animals,and in some cases to the
processes associated with inanimate objects.
</p>
<div class="card-buttons">
<span class="card-links">
<a href="#" class="card-link">READ</a>
<a href="#" class="card-link">BOOKMARK</a>
</span>
<span class="card-buttons">
<span class="card-btns"><a href="#" class="card-btns-link"><i
class="far fa-heart"></i></a></span>
<span class="card-btns"><a href="#" class="card-btns-link"><i
class="fa-solid fa-share"></i></a></span>
<span class="card-btns"><a href="#" class="card-btns-link"><i
class="fa-solid fa-caret-down"></i></a></span>
</span>
</div>
</div>
<!-- Horizontal Card -->
<div id="horizontal-card-demo">
<div class="card-content">
<img src="4.jpg" alt="img" class="img-card">
<div>
<h2 class="card-title">Our Changing Planet</h2>
<h4 class="card-subtitle">by Ayush Raj</h4>
</div>
</div>
<div class="card-buttons">
<span class="card-links">
<a href="#" class="card-link">READ</a>
<a href="#" class="card-link">BOOKMARK</a>
</span>
<span class="card-buttons">
<span class="card-btns"><a href="#" class="card-btns-link"><i
class="far fa-heart"></i></a></span>
<span class="card-btns"><a href="#" class="card-btns-link"><i
class="fa-solid fa-share"></i></a></span>
<span class="card-btns"><a href="#" class="card-btns-link"><i
class="fa-solid fa-caret-down"></i></a></span>
</span>
</div>
</div>
</div>
<select name="select-component" id="component-select" onchange="showDiv(this)">
<option value="0">Basic Card</option>
<option value="1">TextOver Card</option>
<option value="2">Header Card</option>
<option value="3">Horizontal Card</option>
</select>
</div>
<span class="Code-title">HTML Code</span>
<div class="code">
<div id="con">
<i class="fa fa-solid fa-circle red"></i>
<i class="fa fa-solid fa-circle green"></i>
<i class="fa fa-solid fa-circle yellow"></i>
</div>
<p id="copy-code">
<!-- Basic Card -->
<span id="basic-card-code">
<div id="basic-card"><br>
<div class="card-image"><br>
<img src="https://color-components.netlify.app/1.jfif" alt="basic card image" class="img-card"><br>
</div><br>
<div class="card-content"><br>
<h2 class="card-title">Nature</h2><br>
<h4 class="card-subtitle">by Ayush Raj</h4><br>
<p class="card-description">Nature can refer to the general realm of living plants and
animals,
and in some cases to the processes associated with inanimate objects</p><br>
</div><br>
<div class="card-buttons"><br>
<span class="card-links"><br>
<a href="#" class="card-link">READ</a><br>
<a href="#" class="card-link">BOOKMARK</a><br>
</span><br>
<span class="card-buttons"><br>
<span class="card-btns"><a href="#" class="card-btns-link"><i
class="far fa-heart"></i></a></span><br>
<span class="card-btns"><a href="#" class="card-btns-link"><i
class="fa-solid fa-share"></i></a></span><br>
<span class="card-btns"><a href="#" class="card-btns-link"><i
class="fa-solid fa-caret-down"></i></a></span><br>
</span><br>
</div><br>
</div><br>
</span>
<!-- Over Text Card -->
<span id="text-over-card-code">
<div id="overtext-card"><br>
<div class="card-image"><br>
<img src="https://color-components.netlify.app/2.jpg" alt="img" class="img-card"><br>
</div><br>
<div class="card-content"><br>
<h2 class="card-title">Our Changing Planet</h2><br>
<h4 class="card-subtitle">by Ayush Raj</h4><br>
</div><br>
<p class="card-description"><br>
Nature can refer to the general realm of living plants and animals, and in some cases to the
processes associated with inanimate objects
</p><br>
<div class="card-buttons"><br>
<span class="card-links"><br>
<a href="#" class="card-link">READ</a><br>
<a href="#" class="card-link">BOOKMARK</a><br>
</span><br>
<span class="card-buttons"><br>
<span class="card-btns"><a href="#" class="card-btns-link"><i
class="far fa-heart"></i></a></span><br>
<span class="card-btns"><a href="#" class="card-btns-link"><i
class="fa-solid fa-share"></i></a></span><br>
<span class="card-btns"><a href="#" class="card-btns-link"><i
class="fa-solid fa-caret-down"></i></a></span><br>
</span><br>
</div><br>
<div><br>
</span>
<!-- Header Card -->
<span id="header-card-code">
<div id="header-card"><br>
<div class="card-content"><br>
<h2 class="card-title">Our Changing Planet</h2><br>
<h4 class="card-subtitle">by Ayush Raj</h4><br>
</div><br>
<div class="card-image"><br>
<img src="https://color-components.netlify.app/3.jpg" alt="img" class="img-card"><br>
</div><br>
<p class="card-description"><br>
Nature can refer to the general realm of living plants and animals,and in some cases to the
processes associated with inanimate objects.
</p><br>
<div class="card-buttons"><br>
<span class="card-links"><br>
<a href="#" class="card-link">READ</a><br>
<a href="#" class="card-link">BOOKMARK</a><br>
</span><br>
<span class="card-buttons"><br>
<span class="card-btns"><a href="#" class="card-btns-link"><i
class="far fa-heart"></i></a></span><br>
<span class="card-btns"><a href="#" class="card-btns-link"><i
class="fa-solid fa-share"></i></a></span><br>
<span class="card-btns"><a href="#" class="card-btns-link"><i
class="fa-solid fa-caret-down"></i></a></span><br>
</span><br>
</div><br>
</div><br>
</span>
<!-- Horizontal Card -->
<span id="horizontal-card-code">
<div id="horizontal-card"><br>
<div class="card-content"><br>
<img src="https://color-components.netlify.app/4.jpg" alt="img" class="img-card"><br>
<div><br>
<h2 class="card-title">Our Changing Planet</h2><br>
<h4 class="card-subtitle">by Ayush Raj</h4><br>
</div><br>
</div><br>
<div class="card-buttons"><br>
<span class="card-links"><br>
<a href="#" class="card-link">READ</a><br>
<a href="#" class="card-link">BOOKMARK</a><br>
</span><br>
<span class="card-buttons"><br>
<span class="card-btns"><a href="#" class="card-btns-link"><i
class="far fa-heart"></i></a></span><br>
<span class="card-btns"><a href="#" class="card-btns-link"><i
class="fa-solid fa-share"></i></a></span><br>
<span class="card-btns"><a href="#" class="card-btns-link"><i
class="fa-solid fa-caret-down"></i></a></span><br>
</span><br>
</div><br>
</div><br>
</span>
</p>
<div class="bt">
<button onclick="copyToClipboard()" id="copy-btn"><i class="fa fa-solid fa-copy"></i></button>
</div>
</div>
</div>
<!-- Footer -->
<footer>
<div id="foot">
<a href="https://www.facebook.com/profile.php?id=100007834680360" target="_blank" id="fb">
<i class="fab fa-facebook"></i>
</a>
<a href="https://www.instagram.com/ayush1308rj/" target="_blank" id="insta">
<i class="fab fa-instagram"></i>
</a>
<a href="https://www.linkedin.com/in/ayush-r-1a9095119/" target="_blank" id="linked">
<i class="fab fa-linkedin"></i>
</a>
<a href="https://github.com/Ayush-1315" target="_blank" id="git">
<i class="fab fa-github"></i>
</a>
</div>
<p>© All Copyrights are reserved to Color Components UI</p>
</footer>
</div>
<script src="cards.js"></script>
</body>
</html>