-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
102 lines (87 loc) · 1.51 KB
/
styles.css
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
/* Apply a background color to the body */
body {
background-color: #f7f7f7;
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
}
/* Style the <h1> element (page titles) */
h1 {
font-size: 36px;
color: #333;
margin: 20px 0;
}
/* Style the <h2> element (subtitles) */
h2 {
font-size: 24px;
color: #555;
margin: 15px 0;
}
/* Style <p> elements (paragraphs) */
p {
font-size: 18px;
line-height: 1.6;
margin: 10px 0;
color: #666;
}
/* Style <ul> (unordered lists) */
ul {
list-style-type: disc;
margin-left: 20px;
}
/* Style <li> elements (list items) */
li {
margin-bottom: 5px;
}
/* Style images */
img {
max-width: 100%;
height: auto;
border: 1px solid #ccc;
border-radius: 5px;
margin-top: 10px;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
/* Style <ol> (ordered lists) */
ol {
list-style-type: decimal;
margin-left: 20px;
}
/* Style <ol> items */
ol li {
margin-bottom: 5px;
}
/* Add hover effect to links */
a {
color: #0073e6;
transition: color 0.3s ease;
}
a:hover {
color: #ff6600;
text-decoration: underline;
}
body {
max-width: 600px;
margin: 0 auto;
}
.one {
background: pink;
border: 3px solid blue;
/* CHANGE ME */
padding: 0px;
margin: 0px;
}
.two {
background: lightblue;
border: 3px solid purple;
/* CHANGE ME */
margin-bottom: 0px;
}
.three {
background: peachpuff;
border: 3px solid brown;
width: 200px;
/* CHANGE ME */
padding: 0px;
margin-left: 0px;
}