For RWD: px or % in the css? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

For RWD: px or % in the css?

looking for the most efficient way to make my site look good on all devices without having to make a separate mobile device site ???

12th Jul 2018, 7:08 PM
David CHAMPION
David CHAMPION - avatar
3 Answers
+ 3
It depends. For a lot of things like divs and other containers use a viewport unit/percent. For text use px or em/rem.
12th Jul 2018, 8:55 PM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 1
Bootstrap is mobile-first and has built-in features for making responsive web designs that allow web sites to automatically adjust themselves to look good on devices of all sizes. https://www.sololearn.com/learn/1051/?ref=app Just note Bootstrap4 is out.
12th Jul 2018, 7:11 PM
Louis
Louis - avatar
0
awesome ill check it out
12th Jul 2018, 7:48 PM
David CHAMPION
David CHAMPION - avatar