File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 font-family : sans-serif;
33 text-align : center;
44 padding : 50px 20px ;
5+ margin : 0 ;
56 transition : background-color 0.3s ease;
67}
78
@@ -12,10 +13,19 @@ body {
1213 width : 25% ;
1314 margin : auto;
1415 background-color : white;
16+ padding : 30px 20px ;
17+ max-width : 400px ;
18+ box-shadow : 0 4px 12px rgba (0 , 0 , 0 , 0.9 );
1519}
1620
1721h1 {
18- margin-top : 30px ;
22+ margin-bottom : 20px ;
23+ }
24+
25+ p {
26+ font-size : 15px ;
27+ color : cornflowerblue;
28+ margin : 15px 0 ;
1929}
2030
2131button {
@@ -27,9 +37,29 @@ button {
2737 background-color : crimson;
2838 color : white;
2939 cursor : pointer;
40+ transition : background-color 0.3s ease;
3041}
3142
32- p {
33- font-size : 15px ;
34- color : cornflowerblue;
35- }
43+ button : hover {
44+ background-color : rgb (73 , 141 , 171 );
45+ }
46+
47+ @media (max-width : 695px ) {
48+ .container {
49+ width : 90% ;
50+ padding : 20px ;
51+ }
52+
53+ h1 {
54+ font-size : 1.2rem ;
55+ }
56+
57+ button {
58+ font-size : 0.9rem ;
59+ padding : 8px 20px ;
60+ }
61+
62+ p {
63+ font-size : 0.9rem ;
64+ }
65+ }
You can’t perform that action at this time.
0 commit comments