-
Notifications
You must be signed in to change notification settings - Fork 0
/
22_before_after.html
67 lines (63 loc) · 1.64 KB
/
22_before_after.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Before & After</title>
<style>
body {
font-family: Arial, Helvetica, sans-serif;
background: #333333;
color: #ffffff;
margin: 0;
padding: 0;
}
header {
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
text-align: center;
height: 100vh;
}
header::before {
content: '';
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
background: url('/images/photo-1587528373411-3b31a5823e26.jpeg') no-repeat center center/cover;
background-size: 1440px 900px;
opacity: 0.6;
z-index: -1;
}
header > h1 {
font-size: 4rm;
margin: 1rem;
}
.is-required::after {
content: '*';
color: red;
padding-left: 2px;
}
</style>
</head>
<body>
<header>
<h1>Welcome to my site</h1>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Labore, vel.</p>
</header>
<!-- <section>
<h3>Lorem ipsum dolor sit amet.</h3>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Magnam, fugiat
quisquam quod asperiores ex ea quae tempora voluptatum, maxime at culpa
aspernatur corporis, et quo.</p>
</section>
<section>
<h3>Contact Form</h3>
<label for="name" class="is-required">Name</label>
<input type="text">
</section> -->
</body>
</html>