Advertisement
Guest User

Sensing

a guest
Mar 14th, 2012
297
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <head>
  2. <respond>
  3. <case name="one" media="min-width:200px"/>
  4. <case name="two" media="min-width:400px"/>
  5. <case name="three" media="min-width:600px"/>
  6. </respond>
  7. </head>
  8.  
  9. <body>
  10. <image alt="An alt tag for the image">
  11. <source src="mobile.jpg" case="one" />
  12. <source src="medium-res.jpg" case="two" />
  13. <source src="high-res.jpg" case="three" />
  14. <source src="very-high-res.jpg" media="min-width:800px" /><!-- special case not templated -->
  15. <img src="mobile.jpg" /><!-- fallback for old browsers -->
  16. </image>
  17. </body>
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement