+ 1
Anyone know the max width in pixals for a phone?
Body{ Width:? }
6 Réponses
+ 3
It depends on the phone's screen resolution.
You can use 'auto' or '100%'.
+ 3
You can visit Botstrap site where is a table whith averege values for different devises including phones. (Sorry for my English)
+ 3
auto /100% width & height
+ 2
On Google Chrome you can use Devtools to test a website simulated on a mobile device!
0
Thanks
0
You can Google online the pixel width of any smartphone if you want to do it for a certain phone.
width auto/100% usually works well.
I also like to add a min or max width with divs besides the background (form inputs for example).