Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it a good way to make design fit for smartphones? [closed]

Tags:

html

css

php

Is defining width for all objects (inputs, divs etc.) with percentage is a good way for making design fit for smartphones? Or what other way to do it?

like image 676
good_evening Avatar asked Nov 20 '25 10:11

good_evening


1 Answers

I would recommend you use a less flexible layout, and instead use media queries. You can specify a set of rules in case the browser window is less than Npx width.

like image 172
Madara's Ghost Avatar answered Nov 21 '25 22:11

Madara's Ghost



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!