For RWD: px or % in the css? | Sololearn: Learn to code for FREE!

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 ???

7/12/2018 7:08:25 PM

David CHAMPION

3 Answers

New Answer

+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.

+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.

0

awesome ill check it out