File tree Expand file tree Collapse file tree 1 file changed +28
-14
lines changed Expand file tree Collapse file tree 1 file changed +28
-14
lines changed Original file line number Diff line number Diff line change 44 display : flex;
55 flex-direction : column;
66 align-items : center;
7- padding-top : 60 px ;
7+ padding-top : 5 px ; /* Changed to 5px */
88 background-color : # f8f9fa ;
99}
1010
1111h1 {
12- margin-bottom : 30 px ;
12+ margin-bottom : 40 px ;
1313 color : # 343a40 ;
1414 text-align : center;
15+ font-size : 2.5em ;
1516}
1617
1718.container {
1819 background-color : # ffffff ;
19- padding : 40 px ;
20- border-radius : 10 px ;
21- box-shadow : 0 0 20 px rgba (0 , 0 , 0 , 0.15 );
20+ padding : 50 px ;
21+ border-radius : 12 px ;
22+ box-shadow : 0 0 25 px rgba (0 , 0 , 0 , 0.2 );
2223 display : flex;
2324 flex-direction : column;
24- gap : 20px ;
25- width : 350px ;
25+ gap : 25px ;
26+ width : 400px ;
27+ animation : fadeIn 0.5s ease-out;
28+ }
29+
30+ @keyframes fadeIn {
31+ from {
32+ opacity : 0 ;
33+ transform : translateY (-20px );
34+ }
35+ to {
36+ opacity : 1 ;
37+ transform : translateY (0 );
38+ }
2639}
2740
2841.container > div {
3447label {
3548 font-weight : 500 ;
3649 color : # 495057 ;
50+ font-size : 1.1em ;
3751}
3852
3953input [type = "number" ] {
40- padding : 10 px ;
54+ padding : 12 px ;
4155 border : 1px solid # ced4da ;
42- border-radius : 6 px ;
43- width : 180 px ;
44- font-size : 16 px ;
56+ border-radius : 8 px ;
57+ width : 200 px ;
58+ font-size : 1.1 em ;
4559}
4660
4761input [type = "number" ]: focus {
@@ -51,13 +65,13 @@ input[type="number"]:focus {
5165}
5266
5367button {
54- padding : 12 px 24 px ;
68+ padding : 14 px 28 px ;
5569 background-color : # 007bff ;
5670 color : white;
5771 border : none;
58- border-radius : 6 px ;
72+ border-radius : 8 px ;
5973 cursor : pointer;
60- font-size : 16 px ;
74+ font-size : 1.1 em ;
6175 transition : background-color 0.3s ease;
6276}
6377
You can’t perform that action at this time.
0 commit comments