+ 6

HTML / PHP / CSS / JAVASCRIPT @media

I've created a web page, for mobiles, vertically and horizontally in css with the famous @media. In my page 'contact me' (I've a code in sololearn, it's looks like.) I've input and when I clic to write and my keyboard appears, my page become adapted horizontally, but I'm vertically... how can I do ? (sry if I don't rly explain good) thanks. https://code.sololearn.com/WP9e696RYJt3/?ref=app

28th Jul 2017, 7:45 PM
NoxFly
NoxFly - avatar
5 Respuestas
+ 8
SoloLearn playground output have a tab section to separate output and code and it reduce the viewport of your webpage, so when you start to write and your keyboard appeared, the viewport width is longer than the viewport height. so your code automatic change orientation look from vertical to horizontal. hope this help. i had the problem what you said, see my code below for your problem https://code.sololearn.com/WJLjkgXHRgAI/?ref=app
29th Jul 2017, 9:47 PM
Amethyst Animion
Amethyst Animion - avatar
+ 7
thanks, but it's same not in sololearn but also in chrome ^^
29th Jul 2017, 9:56 PM
NoxFly
NoxFly - avatar
+ 7
the problem is keyboard. I think the keyboard programmed to change orientation from vertical to horizontal when appeared like a computer screen
29th Jul 2017, 10:05 PM
Amethyst Animion
Amethyst Animion - avatar
+ 6
yes
29th Jul 2017, 10:06 PM
NoxFly
NoxFly - avatar
+ 5
Did you mean after you click send and there is an alert message and when I click OK and then the page become white ?? 🌕🌕🙈🙈 I
29th Jul 2017, 1:22 PM
Art456
Art456 - avatar