Stylesheet Switcher for iPhone/Desktop


/ Published in: HTML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <link rel="stylesheet" type="text/css" href="iphone.css" media="only screen and (max-width: 480px)" />
  2. <link rel="stylesheet" type="text/css" href="desktop.css" media="screen and (min-width: 481px)" />
  3. <!--[if IE]> <link rel="stylesheet" type="text/css" href="explorer.css" media="all" /> <![endif]-->

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.