Responsive web design, how does it work?

d3veloper

New Member
I am trying to make a webpage that changes the way it looks depending on what device you are using.I think media queries and viewport is the thing I need to use.Can someone confirm this and also tell me how i should go about making a webpage that uses this functionality?Thanks in advance
 

kevinsand

New Member
If you implement this code:

<link rel="stylesheet" type="text/css" media="only screen and (max-device-width: 480px)" href="phone.css" />

And you make an external stylesheet with the name : phone.css then it should work fine :) just change all the divs and design them for your mobile... normally with percentages.
 
Top