+ 1

Stop buttons from moving when selected ?

I was making a tic tac toe game and my game is under development... the problem faced by me is that when a button is tapped or clicked it moves slightly downside ...so plz help me in making the buttons fixed also when clicked . https://code.sololearn.com/Wo1l44vuyqbF/?ref=app

12th Apr 2020, 6:34 PM
Rudra
Rudra - avatar
2 Respuestas
+ 1
I have no idea why this is happening but try this: 1. Try running this on an actually code editor like Brackets or Notepad++ 2. Try loading the HTML first by putting the script after the HTML I made a fix to it ,makes it load faster but not your problem https://code.sololearn.com/W66kiBSyiaQv/?ref=app
12th Apr 2020, 9:56 PM
Cam
Cam - avatar
0
Cam i have tried it on vs code ...but the same was there also .thanks for your help 😊 can i do it by divs instead of buttons
13th Apr 2020, 12:35 AM
Rudra
Rudra - avatar