+ 2
10th Jan 2019, 9:35 AM
Wasiq Abdullah
2 Respostas
+ 5
If you want to handle screen orientation, you need to use @meida @media only screen and (orientation:portrait) @media only screen and (orientation:landscape) BroFarOps©®️™️ has good example code for this: https://code.sololearn.com/WDCAMME1mC5N/?ref=app https://code.sololearn.com/WTvF0m0Ef12A/?ref=app Also, you can this demo, which reset position of some elements: https://code.sololearn.com/W02pmd87hzEz/?ref=app For your self learning, here are some resource about @media 1. Basic Understanding at https://www.w3schools.com/cssref/css3_pr_mediaquery.asp 2. Pratical ways at https://css-tricks.com/snippets/css/media-queries-for-standard-devices/ 3. Full details, especially browser compatibility https://developer.mozilla.org/en-US/docs/Web/CSS/@media
10th Jan 2019, 10:16 AM
Gordon
Gordon - avatar
27th Jan 2019, 7:29 AM
Gordon
Gordon - avatar