File tree Expand file tree Collapse file tree
task02-toggle-button-text Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /* Base styles */
12body {
23 font-family : cursive;
3- padding : 100 px ;
4+ padding : 60 px 20 px ;
45 background-color : # 333 ;
56 text-align : center;
67}
78
89.container {
910 background-color : white;
10- padding : 30px ;
11+ padding : 30px 20 px ;
1112 border : none;
12- border-radius : 50 px ;
13+ border-radius : 30 px ;
1314 box-shadow : 0 0 30px rgba (0 , 0 , 0 , 0.9 );
14- width : 15% ;
15+ width : 90% ;
16+ max-width : 300px ;
1517 margin : auto;
1618}
1719
1820button {
19- font-size : 20 px ;
20- padding : 8 px 40 px ;
21+ font-size : 1.2 rem ;
22+ padding : 10 px 30 px ;
2123 border : 2px solid grey;
2224 border-radius : 50px ;
2325 font-weight : 600 ;
2426 cursor : pointer;
2527 background-color : coral;
28+ color : white;
29+ transition : background-color 0.3s ease;
2630}
2731
2832button : hover {
2933 background-color : rgb (201 , 64 , 15 );
30- }
34+ }
You can’t perform that action at this time.
0 commit comments