File tree Expand file tree Collapse file tree 3 files changed +81
-18
lines changed
Expand file tree Collapse file tree 3 files changed +81
-18
lines changed Original file line number Diff line number Diff line change 99 < title > Calculator99</ title >
1010</ head >
1111< body >
12+ < div id ="bgc ">
13+
1214 < div class ="App ">
15+
1316 < div class ="display " id ="display "> </ div >
14-
17+
1518 < div class ="buttons ">
1619 < button id ="1 " class ="btn "> 1</ button >
1720 < button id ="2 " class ="btn "> 2</ button >
3336 < button class ="btn highlight Del "> Del</ button >
3437 </ div >
3538 </ div >
39+ </ div >
3640</ body >
3741</ html >
Original file line number Diff line number Diff line change 11* {
2- margin : 0 ;
3- padding : 0 ;
4- font-size : 20px ;
5- }
2+ margin : 0px ;
3+ padding : 0px ;
4+ box-sizing : border-box;
5+ }
6+ html , body {
7+ height : 100% ;
8+ width : 100% ;
9+ background-image : url (./ gif.gif);
10+ background-size : cover;
11+ background-position : center;
12+ position : fixed;
13+ }
14+
15+
16+
617
718.App {
819 text-align : center;
9- background-color : black;
10- width : 256px ;
20+ background-color : # 010101af ;
21+ width : 450px ;
22+ height : 630px ;
1123 border : black 2px solid;
24+ margin-left : 39% ;
25+ margin-top : 8% ;
26+ border-radius : 10% ;
27+ position : relative;
28+
29+
1230 }
1331
1432.buttons {
1533 display : grid;
34+ position : absolute;
35+ top : 28% ;
36+ left : 15% ;
37+
38+ margin : 20px ;
39+
1640 grid-template-columns : repeat (4 , 1fr );
1741 grid-auto-rows : minmax (60px , auto);
1842 }
43+
1944
20- .buttons button {
21- background-color : skyblue ;
45+ .btn {
46+ background-color : palevioletred ;
2247 color : white;
23- margin : 2px ;
48+
49+ margin : 10px ;
2450 border-radius : 3px ;
2551 border : none;
52+ height : 60px ;
53+ width : 60px ;
54+ margin-left : 0px ;
55+ font-size : 15px ;
56+ font-family : monument;
57+ border-radius : 50px ;
58+ cursor : pointer;
59+ }
60+ .btn : hover {
61+ background : # efeeee ;
62+ color : # 010101 ;
63+ scale : 0.8 ;
64+ transition : all ease 0.5s ;
2665 }
66+
2767
2868.Clear {
2969 grid-column : 1 /span 2 ;
70+
71+
3072}
3173
74+
3275.Del {
3376 grid-column : 3 /span 2 ;
3477}
35-
3678.highlight {
37- background-color : rgb (15 , 80 , 153 ) !important ;
79+ background-color : rgb (246 , 243 , 243 );
80+ color : rgb (14 , 13 , 13 );
81+ font-size : 12px ;
82+
3883}
84+
85+
86+
3987
4088.display {
41- border : none;
42- background-color : black;
43- color : white;
44- width : 250px ;
45- height : 50px ;
46- text-align : right;
89+
90+
91+ font-size : 40px ;
92+ background-color : # fff ;
93+ position : absolute;
94+ top : 10% ;
95+ color : rgb (16 , 16 , 17 );
96+ width : 380px ;
97+ height : 60px ;
98+ text-align : center;
99+
100+
101+ left : 8% ;
102+ border-radius : 50px ;
103+ border : 1px solid black;
104+ font-family : gilroy;
47105 }
106+
You can’t perform that action at this time.
0 commit comments