File tree Expand file tree Collapse file tree
task01-change-and-revert-heading Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11body {
22 font-family : cursive;
3- padding : 100 px 20px ;
3+ padding : 80 px 20px ;
44 background : linear-gradient (to right, lightgreen, lightblue);
55 text-align : center;
66 margin : 0 ;
7+ box-sizing : border-box;
78}
89
910.container {
@@ -17,9 +18,14 @@ body {
1718 background-color : white;
1819}
1920
21+ h1 {
22+ font-size : 1.5rem ;
23+ margin-bottom : 20px ;
24+ }
25+
2026button {
21- font-size : 18 px ;
22- padding : 8 px 25 px ;
27+ font-size : 1 rem ;
28+ padding : 10 px 80 px ;
2329 border : none;
2430 border-radius : 50px ;
2531 background-color : cornflowerblue;
@@ -32,7 +38,17 @@ button:hover {
3238 background-color : rgb (58 , 161 , 164 );
3339}
3440
35- h1 {
36- font-size : 24px ;
37- margin-bottom : 20px ;
41+ @media (max-width : 390px ) {
42+ .container {
43+ box-sizing : border-box;
44+ }
45+
46+ h1 {
47+ font-size : 1.5rem ;
48+ }
49+
50+ button {
51+ font-size : 1rem ;
52+ padding : 10px 30px ;
53+ }
3854}
You can’t perform that action at this time.
0 commit comments