Retina Display Textures

6,094 views
5,770 views

Published on

The growing popularity of Apple's Retina Display is changing the way we think about websites. Learn how we can enhance our textures through CSS for devices that have Retina Display.

Published in: Design, Technology, Business
2 Comments
6 Likes
Statistics
Notes
No Downloads
Views
Total views
6,094
On SlideShare
0
From Embeds
0
Number of Embeds
63
Actions
Shares
0
Downloads
95
Comments
2
Likes
6
Embeds 0
No embeds

No notes for slide

Retina Display Textures

  1. RETINA DISPLAY TEXTURES Tap Into Better Clarity For Your Mobile Projects Mark Riggan
  2. WHAT’S A RETINA DISPLAY?
  3. RETINA DISPLAYHigh Resolution Screen Technology introduced by Apple.Provides greater pixel density and higher contrast ratios. Standard Retina Display
  4. iPhone iPad Mac 4 4S The New iPad Macbook Pro640x960 px 1536x2048 px 2880x1800 px (Previously 320x480) (Previously 768x1024) (Previously 1440x900)
  5. SO IT MAKES STUFF LOOKMAGICALLY BETTER, RIGHT?
  6. THAT DEPENDS• Text and CSS-generated art are super sharp. AWESOME• Images and CSS background textures are pixelated. UH OH, PROBLEM
  7. OK, LET’S CLEAR THIS UP
  8. FOR DESIGNERS• Setup document at 200% scale of baseline resolution • Export at 50% scale for non-Retina Display • Preserves image quality• Total of 2 output files • Low-res file • High-res file (2x resolution)
  9. image2x.png (Original) image.png (Reduced) 600x600 300x300
  10. FOR DEVELOPERS/* Original Image */selector { width: 300px; height: 300px; background-image: image.png; }/* For Retina Displays */@media all and (-webkit-min-device-pixel-ratio: 2) { selector { background-image: image2x.png; background-size: 300px auto; }}
  11. Before (300x300) After (600x600)
  12. Before (300x300) After (600x600)
  13. SWEET! LET’S SUMMARIZE
  14. IN SUMMARY• Enhances Quality for Users• Easy to Implement (minimal code)• Try Limiting to High Traffic Areas • Can be Labor Intensive • Increases Bandwidth Usage• Impact on Future of Web?
  15. RETINA DISPLAY TEXTURES Tap Into Better Clarity For Your Mobile Projects Mark Riggan Twitter (@asuwebdesign) Dribbble (markr)

×