-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcardcenter4.html
More file actions
146 lines (118 loc) · 3.54 KB
/
cardcenter4.html
File metadata and controls
146 lines (118 loc) · 3.54 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
height: 100vh;
background: hsl(0, 0%, 85%);
}
.wrapper3 {
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.content3 {
margin: 10px;
padding: 10px;
text-align: center;
}
.content3 h1 {
font-size: 4rem;
color: rgb(20, 20, 20);
}
.content3 p {
color: rgb(27, 27, 27);
font-size: 0.935rem;
}
.container3 {
position: relative;
height: 80vh;
width: 80%;
border: 1px red solid;
display: flex;
justify-content: center;
align-items: center;
}
.layout3 {
position: relative;
height: 80vh;
width: 80%;
display: flex;
justify-content: center;
align-items: center;
gap: 1rem;
border: 1px blue solid;
}
.col3 {
display: grid;
place-items: center;
grid-gap: 1rem;
border: 1px yellow solid;
width: 100%;
}
.cards3 {
padding: 10px;
border: 1px green solid;
width: 100%;
height: 30vh;
box-shadow: 1px 5px 20px black;
}
</style>
</head>
<body>
<main class="wrapper3">
<div class="content3">
<div class="head3">
<h1>Card Layout</h1>
</div>
<div class="head-para3">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Enim, voluptas!</p>
</div>
</div>
<section class="container3">
<div class="layout3">
<div class="col3">
<div class="cards3">
<div class="card-content3">
<h2>Card 01</h2>
<p>Lorem ipsum dolor sit amet.</p>
</div>
</div>
</div>
<div class="col3">
<div class="cards3">
<div class="card-content3">
<h2>Card 02</h2>
<p>Lorem ipsum dolor sit amet.</p>
</div>
</div>
<div class="cards3">
<div class="card-content3">
<h2>Card 03</h2>
<p>Lorem ipsum dolor sit amet.</p>
</div>
</div>
</div>
<div class="col3">
<div class="cards3">
<div class="card-content3">
<h2>Card 04</h2>
<p>Lorem ipsum dolor sit amet.</p>
</div>
</div>
</div>
</div>
</section>
</main>
</body>
</html>