-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
71 lines (63 loc) · 2.18 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>My Beautiful Webpage</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f8f8f8;
color: #333;
}
h1 {
font-size: 48px;
color: #222;
text-align: center;
margin-top: 50px;
}
p {
font-size: 18px;
line-height: 1.5;
margin: 20px 0;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 40px 20px;
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
border-radius: 10px;
text-align: justify;
text-justify: inter-word;
}
.btn {
display: inline-block;
padding: 12px 30px;
background-color: #42b983;
color: #fff;
font-size: 20px;
border-radius: 5px;
margin-top: 20px;
text-decoration: none;
}
.btn:hover {
background-color: #38a174;
}
</style>
</head>
<body>
<div class="container">
<h1>Welcome to my beautiful webpage!</h1>
<p>This is a simple and beautiful webpage created using HTML and CSS. It has a clean and elegant design that is
easy on the eyes.</p>
<p>The background color is a light shade of gray (#f8f8f8) which provides a nice contrast with the white
container. The text is in a dark shade of gray (#333) and the font used is Arial, which is a commonly used
sans-serif font that is easy to read.</p>
<p>The container has a maximum width of 800px and is centered on the page. It has a padding of 40px at the top
and bottom and 20px on the sides. The container also has a box-shadow and a border-radius to give it a
subtle 3D effect.</p>
<p>The text is justified and has a line-height of 1.5 to make it easier to read. The buttons have a background
color of #42b983 and a hover effect that changes the color to #38a174.</p>
<a href="#" class="btn">Learn More</a>
</div>
</body>
</html>