+ 4
What should i do please ?? [SOLVED]
[SOLVED] I wrote a code that includes custom alert button I made. It includes an input but when you press it, other elements scale negatively. (Just open the code, press the input box and see for yourself). I'm so frustrated !! Please advise me on what I should do to fix the code 🙏🙏🙏 https://code.sololearn.com/WdtsS5hE9oYN/?ref=app
2 Respostas
+ 4
Because those elemets height was set with 'vh' means viewport height, that's why whenever you click on the input the keyboard pops-up and decreases the window's height and elements height also decreases. So, you can use other methods to set heights of the elements such as, 'vw' or 'px' or 'em'. In that way you can make your website responsive.
+ 5
Samiun Nafis Thanks alot man !.