Why does some code look perfect on computers and look like trash on phone😪😪. And is there a way to make them both look great😥 | Sololearn: Learn to code for FREE!
Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję
+ 2

Why does some code look perfect on computers and look like trash on phone😪😪. And is there a way to make them both look great😥

17th Dec 2022, 1:30 AM
Praise Onyemenam
Praise Onyemenam - avatar
3 odpowiedzi
+ 4
Use meta viewport for scaling and try to use rem vh instead of px for sizing this will make website respond to size of the device. Some function are made specifically for desktop like mouseover so that try to use other tag wisely.
17th Dec 2022, 4:43 AM
Ayush Pandey
Ayush Pandey - avatar
+ 1
are you using meta viewport tag in the head of html? Cuz with proper CSS you can make both phone and desktop look beautiful.
17th Dec 2022, 3:21 AM
arturop-404
arturop-404 - avatar
+ 1
Sololearn have a Responsive Web Design course.
17th Dec 2022, 5:50 AM
Bob_Li
Bob_Li - avatar