-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlab01CssProblem.css
More file actions
46 lines (45 loc) · 958 Bytes
/
Copy pathlab01CssProblem.css
File metadata and controls
46 lines (45 loc) · 958 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
/*Give the <body> element a background of Black*/
body{
background-color: black;
font-family: 'Kanit', sans-serif;
}
/*Make the <h1> elements blue*/
h1{
color: blue;
}
/*Make all <li> elements in the shade of hexadecimal blue*/
ul{
color:blue;
}
/*Paragraph background to orange*/
p{
background-color: orange;
}
/*Make all <h3> have 5px red solid border*/
h3{
border-width: 5px;
border: red;
border-style: solid;
}
/*Give everything with <abbr> bold and underlined*/
abbr{
font-weight: bold;
text-decoration: underline;
}
/*Give elements with class "explanation" red*/
.explaination{
color: red;
}
/*Give <p> in id "zen-benefits" pink background*/
#zen-benefits p{
background-color: pink;
}
/*Make <li> adjacent to <h2> red background*/
h2, h2 ~ ul{
background-color: red;
}
/*Give <em> inside <p> red and bold*/
p em{
color: red;
border-style: bold;
}