-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
47 lines (41 loc) · 932 Bytes
/
index.html
File metadata and controls
47 lines (41 loc) · 932 Bytes
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
/* Select the HTML element with the class "container" */
.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
/* Select all paragraphs inside the container */
.container p {
color: #333;
font-size: 16px;
line-height: 1.5;
}
/* Select the HTML element with the ID "header" */
#header {
background-color: #f2f2f2;
padding: 10px;
}
/* Select all links inside the header */
#header a {
color: #000;
text-decoration: none;
}
/* Apply a hover effect to links inside the header */
#header a:hover {
color: #ff0000;
}
/* Select the HTML element with the class "btn" */
.btn {
display: inline-block;
padding: 10px 20px;
background-color: #007bff;
color: #fff;
text-decoration: none;
border-radius: 4px;
transition: background-color 0.3s ease;
}
/* Apply a hover effect to buttons */
.btn:hover {
background-color: #0056b3;
}