+ 2

How to make a website compatible for both pc andphone resolutions ?

I want to learn those codes and tags and how they work #help

25th Dec 2017, 7:14 PM
rahul negi
rahul negi - avatar
7 ответов
+ 14
media queries or analogical measurment units such as % and vw,vh in CSS part.
25th Dec 2017, 7:35 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 14
Another solution is to use responsive web frameworks like bootstrap, bulma etc.
25th Dec 2017, 7:54 PM
Ranjan Bagri
Ranjan Bagri - avatar
+ 8
You might also want to consider a specific subdomain like m.mydomain.com and serve that version of the website to mobile users. I use media queries but that method can be better in some circumstances.
25th Dec 2017, 8:01 PM
Peter David Carter
Peter David Carter - avatar
+ 6
make responsive pages instead of using px val you can use% and also some stuffs like parallex and ect.....ect....
26th Dec 2017, 3:31 AM
Prashanth Kumar
Prashanth Kumar - avatar
+ 4
Responsive Web Design (RWD) is something that takes a bit of practice to get right. As many have already suggested, you'll want to learn about CSS media queries, using relative units like '%' or the more common relative unit 'em'. Starting with strong frameworks will help you get familiar with building responsive websites supporting multiple view ports (screen dimensions). You'll also want to learn about concepts such as mobile first progressive enhancement, which essentially is the practice of building your site for the smallest screen sizes first and then progressively supporting tablets, then desktops. This approach has proven to be the most maintainable and easiest in the long run. Here are some links that might help: https://developers.google.com/web/fundamentals/design-and-ux/responsive/
26th Dec 2017, 2:39 PM
David Carroll
David Carroll - avatar
+ 1
it's better that to do with js,css ..but should know about css
25th Dec 2017, 7:41 PM
Yesh Jadav
Yesh Jadav - avatar