forked from morecallan/cohort17-css101
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
90 lines (57 loc) · 748 Bytes
/
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
/*****
Step One
****/
p {
border-bottom: 1px solid red;
}
.kermit {
border: 10px solid green;
border-radius: 25%;
}
#main-div-1 {
padding: 5%;
}
/*****
Step Type
****/
#main-div-2 .kermit {
border: 2px dotted purple;
}
h2 ~ p {
background-color: orange;
}
/*******
Step Three
******/
#li-1 {
font-size: 30px;
}
#li-2 {
font-weight: bold;
}
#li-3 {
text-transform: uppercase;
}
#mystery-ul li:nth-child(2n+1) {
font-family: 'Mystery Quest', cursive;
}
img {
width: 200px;
height: auto;
}
/*******
Step Four: flex-box;
******/
#flexKermit {
display: flex;
flex-wrap: wrap;
}
#flexKermit > img {
width: 30%;
}
input:valid {
background-color: green;
}
input:invalid {
background-color: red;
}