CSS Target Screen Size


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



Copy this code and paste it in your HTML
  1. <link media="only screen and (max-device-width: 480px)" href="iphone.css" type="text/css" rel="stylesheet" />
  2. <link media="only screen and (device-width: 768px)" href="iphone.css" type="text/css" rel="stylesheet" />

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.