File tree Expand file tree Collapse file tree 3 files changed +313
-103
lines changed
Expand file tree Collapse file tree 3 files changed +313
-103
lines changed Original file line number Diff line number Diff line change @@ -11,42 +11,42 @@ body{
1111 font-size: 50px;
1212} */
1313
14- .p1 {
14+ .player1 {
1515
1616 position : absolute;
1717 width : 50% ;
18- height : 50 % ;
18+ height : 46 % ;
1919 background-color : # FDFD96 ;
2020 text-align : center;
2121}
2222
23- .p2 {
23+ .player2 {
2424
2525 position : absolute;
2626 left : 50% ;
2727 width : 50% ;
28- height : 50 % ;
28+ height : 46 % ;
2929 background-color : # FFB3BA ;
3030 text-align : center;
3131}
3232
33- .p3 {
33+ .player3 {
3434
3535 position : absolute;
36- top : 50 % ;
36+ top : 46 % ;
3737 width : 50% ;
38- height : 50 % ;
38+ height : 46 % ;
3939 background-color : # B8E2B8 ;
4040 text-align : center;
4141}
4242
43- .p4 {
43+ .player4 {
4444
4545 position : absolute;
46- top : 50 % ;
46+ top : 46 % ;
4747 left : 50% ;
4848 width : 50% ;
49- height : 50 % ;
49+ height : 46 % ;
5050 background-color : # A7C6ED ;
5151 text-align : center;
5252}
@@ -61,38 +61,63 @@ input{
6161
6262}
6363
64- .p1 span , .p2 span , .p3 span , .p4 span {
64+ .player1 , .player2 , .player3 , .player4 {
6565
66- display : inline-block;
67- margin-top : 40% ;
68- }
66+ span {
67+ display : inline-block;
68+ margin-top : 35% ;
69+ }
6970
70- button {
71+ . decbtn {
7172
72- position : absolute;
73- left : 35% ;
74- top : 60% ;
75-
76- border : none;
77- border-radius : 50% ;
73+ position : absolute;
74+ left : 20% ;
75+ top : 70% ;
7876
79- height : 150 px ;
80- width : 150 px ;
77+ border : none ;
78+ border-radius : 50 % ;
8179
82- background-color : # 000 ;
80+ height : 120px ;
81+ width : 120px ;
8382
84- font-size : 5rem ;
85- color : # fff ;
86- text-align : center;
83+ background-color : # 000 ;
84+
85+ font-size : 5rem ;
86+ color : # fff ;
87+ text-align : center;
88+
89+ padding : 10px ;
90+ }
91+
92+ .ranibtn {
93+
94+ position : absolute;
95+ left : 60% ;
96+ top : 70% ;
8797
88- padding : 10px ;
98+ border : none;
99+ border-radius : 50% ;
100+
101+ height : 120px ;
102+ width : 120px ;
103+
104+ background-color : # FF6A4D ;
105+
106+ font-size : 5rem ;
107+ text-align : center;
108+
109+ padding : 10px ;
110+
111+ font-size : 3rem ;
112+ color : # fff ;
113+ }
89114}
90115
91116.totaldiv {
92117
93118 position : absolute;
94119 left : 44% ;
95- top : 47 % ;
120+ top : 42.5 % ;
96121
97122 width : 120px ;
98123 height : 120px ;
@@ -105,15 +130,25 @@ button{
105130 line-height : 2 ;
106131}
107132
108- .resetbtn {
133+ .bottombar {
109134
110- background-color : # 000 ;
111- color : # fff ;
135+ position : absolute;
136+ display : flex;
137+ top : 92% ;
138+ height : 8% ;
139+ width : 100% ;
140+ background-color : # 999 ;
112141
113- left : 42% ;
114- top : 90% ;
142+ .resetbtn , .newbtn {
115143
116- span {
117- font-size : 4rem ;
144+ margin : auto;
145+
146+ background-color : none;
147+ color : # fff ;
148+ left : 42% ;
149+
150+ span {
151+ font-size : 4rem ;
152+ }
118153 }
119154}
You can’t perform that action at this time.
0 commit comments