How can I balance the measurements of a PC and that of a phone | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can I balance the measurements of a PC and that of a phone

Hi guys am really having a challenge with measurements.. I code on PC but when I transfer it to phone, it doesn't fit

15th Jun 2020, 8:38 AM
Jerry Daniel
Jerry Daniel - avatar
2 Answers
+ 1
Set width in percentage and height in pixels. I have also faced this problem, hence I used this method. For your reference you can check my below project in your PC and phone. https://code.sololearn.com/WqNkZIeyGISl/?ref=app
15th Jun 2020, 8:55 AM
Omkar Kamat
Omkar Kamat - avatar
+ 5
Jerry Daniel You have to learn about @media attributes in CSS.
15th Jun 2020, 8:46 AM
A͢J
A͢J - avatar