-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.html
59 lines (54 loc) · 1.29 KB
/
styles.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Styled Webpage</title>
<style>
body {
background-color: #f0f0f0;
font-family: Arial, sans-serif;
text-align: center;
}
.container {
padding: 20px;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin: 50px auto;
max-width: 600px;
}
h1 {
color: #4caf50;
}
p {
color: #333;
font-size: 18px;
line-height: 1.6;
}
.button {
display: inline-block;
padding: 10px 20px;
font-size: 16px;
background-color: #4caf50;
color: #fff;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s;
}
.button:hover {
background-color: #45a049;
}
</style>
</head>
<body>
<div class="container">
<h1>Welcome to My Styled Webpage</h1>
<p>
This is a simple example of how you can use HTML and CSS to create a
beautifully styled webpage.
</p>
<a href="#" class="button">Learn More</a>
</div>
</body>
</html>