-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patha8.html
More file actions
183 lines (183 loc) · 4.82 KB
/
Copy patha8.html
File metadata and controls
183 lines (183 loc) · 4.82 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
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
<!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>DIV CARDS</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Orbitron&display=swap" rel="stylesheet">
<style>
h1{
font-family: 'Orbitron', sans-serif;
margin-bottom: 0px;
}
p{
font-family: 'Orbitron', sans-serif;
}
.div-1{
margin-top: 0px;
margin-bottom: 0px;
font-weight: bold;
}
.div-2{
margin-top: 0px;
margin-bottom: 10px;
color: white;
}
span{
color: purple;
text-shadow: 0px 0px 2px purple;
}
.pfp{
width: 200px;
height: 200px;
object-fit: cover;
margin: 20px;
border-radius: 100px;
}
.pfp-name{
color: white;
}
.collection{
font-size: 15px;
background-color: white;
color: blueviolet;
border-style: none;
padding: 10px;
border-radius: 10px;
font-family: 'Orbitron', sans-serif;
font-weight: bold;
margin-bottom: 20px;
cursor: pointer;
transition: background-color 0.2s, color 0.2s, padding-left 0.2s, padding-right 0.2s;
}
.collection:hover{
background-color: black;
color: white;
padding-left: 30px;
padding-right: 30px;
}
.info-card{
margin: 10px;
text-align: center;
display: inline-block;
background-color: blueviolet;
border-radius: 10px;
padding: 10px;
}
.first-name{
font-size: 15px;
padding: 10px;
border-radius: 10px;
border-width: 1px;
border-style: solid;
}
.last-name{
font-size: 15px;
padding: 10px;
border-radius: 10px;
border-width: 1px;
border-style: solid;
}
.email{
display: block;
margin-top: 5px;
padding-right: 230px;
padding-bottom: 10px;
padding-left: 10px;
padding-top: 10px;
font-size: 15px;
border-radius: 10px;
border-width: 1px;
border-style: solid;
}
.sign-up{
display: block;
margin-top: 5px;
padding-right: 150px;
padding-left: 150px;
padding-bottom: 10px;
padding-top: 10px;
font-size: 30px;
border-radius: 10px;
border-width: 1px;
font-family: 'Orbitron', sans-serif;
border-style: none;
background-color:white;
color: blueviolet;
transition: color 0.2s, background-color 0.2s, box-shadow 0.2s;
cursor: pointer;
}
.sign-up:hover{
color: white;
background-color: black;
box-shadow: 0px 0px 5px blueviolet;
}
.sign-card{
background-color: blueviolet;
border: none;
border-radius: 5px;
display: inline-block;
padding: 20px;
text-align:left;
}
</style>
</head>
<body>
<h1>
GET YOUR OWN <span> <DIV></span> CARD!
</h1>
<p class="div-1">
With the help of the <span> <DIV></span> element, we can make you a nice-looking info card!
</p>
<p class="div-1">Each card has its own area thanks to the <span><DIV ></span> element!</p>
<div class="info-card">
<img class="pfp" src="div1.jpg" alt="Simon Riley aka Ghost">
<p class="pfp-name">
Simon "Ghost" Riley
</p>
<p class="pfp-name">
Death Stare
</p>
<button class="collection">
Add to Collection
</button>
</div>
<div class="info-card">
<img class="pfp" src="div2.webp" alt="Dwayne Johnson">
<p class="pfp-name">
Dwane "The Rock" Johnson
</p>
<p class="pfp-name">
Eyebrow Raise
</p>
<button class="collection">
Add to Collection
</button>
</div>
<div class="info-card">
<img class="pfp" src="div3.jpg" alt="Dwayne Johnson">
<p class="pfp-name">
Saul Goodman
</p>
<p class="pfp-name">
Its all good
</p>
<button class="collection">
Add to Collection
</button>
</div>
<p></p>
<div class="sign-card">
<p class="div-2">
SIGN UP AND GET YOUR OWN!
</p>
<input class="first-name" type="textbox" placeholder="First Name">
<input class="last-name" type="textbox" placeholder="Last Name">
<input class="email" type="textbox" placeholder="Email">
<button class="sign-up">SIGN UP</button>
</div>
</body>
</html>