File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
starter/03-CSS-Fundamentals/challenge-1 Expand file tree Collapse file tree 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+
16body {
27 font-family : sans-serif;
38 line-height : 1.4 ;
@@ -15,9 +20,12 @@ a:hover {
1520
1621button {
1722 background-color : black;
18- border : none;
23+ border : 0 ;
24+ border-top : 4px solid black;
1925 color : white;
26+ padding : 20px 0 ;
2027 text-transform : uppercase;
28+ width : 100% ;
2129}
2230
2331button : hover {
@@ -28,19 +36,27 @@ button:hover {
2836
2937li {
3038 list-style-type : square;
39+ margin-left : 20px ;
40+ margin-bottom : 10px ;
3141}
3242
3343h2 , h4 {
3444 text-transform : uppercase;
45+ margin-bottom : 15px ;
46+ margin-top : 30px ;
3547}
3648
3749.product {
3850 border : 4px solid black;
51+ margin : 50px auto;
52+ width : 825px ;
3953}
4054
4155.product-header {
4256 background-color : # f7f7f7 ;
4357 font-size : 22px ;
58+ margin : 0 ;
59+ padding : 15px ;
4460 text-align : center;
4561}
4662
@@ -52,5 +68,6 @@ h2, h4 {
5268 color : # 777 ;
5369 font-size : 12px ;
5470 font-weight : bold;
71+ margin-bottom : 20px ;
5572 text-transform : uppercase;
5673}
You can’t perform that action at this time.
0 commit comments