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!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Respostas
+ 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
Arturop - avatar
+ 1
Sololearn have a Responsive Web Design course.
17th Dec 2022, 5:50 AM
Bob_Li
Bob_Li - avatar