-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
51 lines (46 loc) · 730 Bytes
/
styles.css
File metadata and controls
51 lines (46 loc) · 730 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
48
49
50
51
/*
This is a comment. CSS for the overall page.
*/
body {
background-color: grey;
}
/*
Styling for h2 elements
*/
h2 {
color: black;
}
/*
Styling for paragraph elements with the class "paragraph".
*/
.paragraph {
color: blue;
font-size: 20px;
}
/*
Styling for anchor (a) elements.
*/
a {
color: red;
}
/*
Styling for button elements.
*/
button {
padding: 20px;
background-color: blue;
color: white;
/* Ensures text on the button is visible */
border: none;
/* Removes default button border */
cursor: pointer;
/* Changes the cursor to a pointer when hovered */
}
/*
Styling for the element with the ID "container".
*/
#container {
width: 100px;
height: 100px;
background-color: green;
}