+ 1

Need help with my first code

Optimization help I have a problem, trying to do my first webpage in html and css but the problem is that whenever i try to run code on my mobile phone everything go to hell. I have this animation which slide divs from left tp right and opozite, so it looks like that affect my whole page, background size and picture. You can check code on my profile. help?

7th Jul 2019, 5:04 PM
Dovahkiin
Dovahkiin - avatar
7 odpowiedzi
+ 2
If you want things to appear correctly on your phone, you have to program it for phone dimensions. So set a media query with max width and restyle everything with CSS so that it looks good via mobile. That way you will have a mobile version and a web version. This all goes in line with responsive web design. https://www.w3schools.com/cssref/css3_pr_mediaquery.asp
8th Jul 2019, 4:46 AM
Chris Coder
Chris Coder - avatar
+ 5
Do you mean that background image goes crazy at first ?
7th Jul 2019, 5:26 PM
KingDaniel2004
KingDaniel2004 - avatar
+ 5
Try to use table tag(<table>) insert of paragraph tag (<p>) That may work
7th Jul 2019, 5:31 PM
KingDaniel2004
KingDaniel2004 - avatar
+ 4
Your welcome!
7th Jul 2019, 5:35 PM
KingDaniel2004
KingDaniel2004 - avatar
+ 2
🇮🇳King🇺🇸Daniel🇫🇷 yeah, and as you can see first text "lore, apperance..." have some issues, but on desktop it look normal
7th Jul 2019, 5:28 PM
Dovahkiin
Dovahkiin - avatar
+ 2
🇮🇳King🇺🇸Daniel🇫🇷 ill try that litle bit later when i get home, thanks bro 🙌🏻
7th Jul 2019, 5:32 PM
Dovahkiin
Dovahkiin - avatar
+ 2
Use flexbox for responsive design
8th Jul 2019, 5:27 PM
Ayushi Gujarati
Ayushi Gujarati - avatar