File tree 1 file changed +18
-1
lines changed
starter/03-CSS-Fundamentals/challenge-1 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change
1
+ * {
2
+ margin : 0 ;
3
+ padding : 0 ;
4
+ }
5
+
1
6
body {
2
7
font-family : sans-serif;
3
8
line-height : 1.4 ;
@@ -15,9 +20,12 @@ a:hover {
15
20
16
21
button {
17
22
background-color : black;
18
- border : none;
23
+ border : 0 ;
24
+ border-top : 4px solid black;
19
25
color : white;
26
+ padding : 20px 0 ;
20
27
text-transform : uppercase;
28
+ width : 100% ;
21
29
}
22
30
23
31
button : hover {
@@ -28,19 +36,27 @@ button:hover {
28
36
29
37
li {
30
38
list-style-type : square;
39
+ margin-left : 20px ;
40
+ margin-bottom : 10px ;
31
41
}
32
42
33
43
h2 , h4 {
34
44
text-transform : uppercase;
45
+ margin-bottom : 15px ;
46
+ margin-top : 30px ;
35
47
}
36
48
37
49
.product {
38
50
border : 4px solid black;
51
+ margin : 50px auto;
52
+ width : 825px ;
39
53
}
40
54
41
55
.product-header {
42
56
background-color : # f7f7f7 ;
43
57
font-size : 22px ;
58
+ margin : 0 ;
59
+ padding : 15px ;
44
60
text-align : center;
45
61
}
46
62
@@ -52,5 +68,6 @@ h2, h4 {
52
68
color : # 777 ;
53
69
font-size : 12px ;
54
70
font-weight : bold;
71
+ margin-bottom : 20px ;
55
72
text-transform : uppercase;
56
73
}
You can’t perform that action at this time.
0 commit comments