Difference between revisions of "Courses/Jouw Site op Kleine Schermpjes"
From Publication Station
Arjensuijker (talk | contribs) |
Arjensuijker (talk | contribs) |
||
Line 1: | Line 1: | ||
=== Responsive Webdesign === | === Responsive Webdesign === | ||
==== Steps for Graceful Degradation: ==== | |||
'''1 Set the initial scaling:''' | |||
<nowiki><meta name="viewport" content="width=device-width; initial-scale=1.0"></nowiki> | |||
'''2 Use CSS media queries to reposition or hide content''' | |||
<nowiki><meta name="viewport" content="width=device-width; initial-scale=1.0"></nowiki> | <nowiki>@media screen and (max-width: 560px) { | ||
<nowiki>@media screen and (max-width: 560px) { | |||
#content { | #content { | ||
width: auto; | width: auto; |
Revision as of 16:44, 7 January 2015
Responsive Webdesign
Steps for Graceful Degradation:
1 Set the initial scaling:
<meta name="viewport" content="width=device-width; initial-scale=1.0">
2 Use CSS media queries to reposition or hide content
@media screen and (max-width: 560px) { #content { width: auto; float: none; } }