+ 6

There is a CSS Grid Gaps problem 🥹🥹🥹

Well, I have made a second version of my code. I have made a Full screen version of my Calculator and it's working fine but I am wondering Why my big buttons are not looking fit in my calculator, 😐😐😐 My Equal button is looking not so good and I wanna fix it do anyone have any ideas about it. 🥹🥹🥹 I think those button which contains grid-row:2; or grid-column:2; have some problems 🤔 .Calculator spam.equal { grid-row:span 2; height:135px; text-align:center ; padding-top:50px; background:#9999cf; } .Calculator spam.clear { grid-column:span 2; width:135px; text-align:center ; background-color:#fad000; } .Calculator spam.zero { grid-column:span 2; width:135px; text-align:center ; background-color:#4035ff; } Please take a look at my code so you can understand more better 😊 https://code.sololearn.com/W17GN5n9C86a/?ref=app

22nd Jun 2022, 10:19 AM
Hassaan
Hassaan - avatar
3 Respostas
+ 2
I don't know is this what you want, becoz I didn't undersrand your problem fully🤣 But check maybe it is what you want, if no say I'll try to help you😄 https://code.sololearn.com/WdY6qmBTrhBR/?ref=app
23rd Jun 2022, 5:38 PM
Սոֆի
+ 1
Yes. Change the height of the = sign until it looks right. I chose 162px
22nd Jun 2022, 3:38 PM
Chris Coder
Chris Coder - avatar
+ 1
Chris Coder Yes I have tried your idea but for some reason the whole row is going to be below 😐 And the rest of my calculator looks worst 😐
23rd Jun 2022, 4:42 AM
Hassaan
Hassaan - avatar