+ All Categories
Home > Technology > Resolution Independence - Preparing Websites for Retina Displays

Resolution Independence - Preparing Websites for Retina Displays

Date post: 27-Jan-2015
Category:
Upload: steveschrab
View: 103 times
Download: 0 times
Share this document with a friend
Description:
A presentation for non-technical designers on front-end development for Resolution Independence.
Popular Tags:
21
Independence Preparing Websites for Retina Displays Thursday, July 19, 12
Transcript
Page 1: Resolution Independence - Preparing Websites for Retina Displays

IndependencePreparing Websites for Retina Displays

Thursday, July 19, 12

Page 2: Resolution Independence - Preparing Websites for Retina Displays

To discuss development techniquesas they relate to high-res displays

Why are we here?

Thursday, July 19, 12

Page 3: Resolution Independence - Preparing Websites for Retina Displays

That Retina Display Looks Great!So why does my website look terrible?

Thursday, July 19, 12

Page 4: Resolution Independence - Preparing Websites for Retina Displays

Why?

Packing more pixels in the same sized screens

In the past, 72dpi graphics were just scaled down

Retina displays scale up graphics anywhere from 224 to 326ppi

99% of all bitmap graphics on the web are 72dpi.*

* I made that up, but it’s probably close or true.

Thursday, July 19, 12

Page 5: Resolution Independence - Preparing Websites for Retina Displays

So what can we do about it?

Thursday, July 19, 12

Page 6: Resolution Independence - Preparing Websites for Retina Displays

Learn from Print

Print has always had to deal with high-resolutions and varying dpi.

When dealing with bitmap images, print works with high-res sources.

Other images and typography use Resolution-Independent sources.

Embedded fonts

Vector artwork

Program FX (i.e. layer effects)

Thursday, July 19, 12

Page 7: Resolution Independence - Preparing Websites for Retina Displays

So what are the issues?

Photography

Logos and Icons

Fonts

UI elements

Thursday, July 19, 12

Page 8: Resolution Independence - Preparing Websites for Retina Displays

We’re not going to get away for bitmap graphics completely

Possible to use high-res files, but use with caution

Low res standard JPEGs of photography still look decent

New standards are being crafted right now

There are server-side and client-side options available

High-res JPEGsPhotography

Thursday, July 19, 12

Page 9: Resolution Independence - Preparing Websites for Retina Displays

Scalable Vector Graphics are like Illustrator files for the web

They look crisp and are often smaller files

Creating these can be tricky

Some special effects in Illustrator won’t work in the SVG file format

Won’t work for everything, but great for logos

SVG FilesLogos and Icons

Thursday, July 19, 12

Page 10: Resolution Independence - Preparing Websites for Retina Displays

Using web fonts helps reduce development costs

Increases SEO and can lower overall bandwidth usage

There is no shame in using web safe fonts, but there are free solutions if paid solutions are not available.

Also consider icon fonts (http://keyamoon.com/icomoon)

Advanced web typography doesn’t need graphical text(http://letteringjs.com/)

Web FontsFonts

Thursday, July 19, 12

Page 11: Resolution Independence - Preparing Websites for Retina Displays

Effects are generated by the browser. Similar to using Photoshop Layer Effects.

Effects are resolution independent.

Can have dramatic results on the speed of a website.

CSS EffectsUI Elements

Thursday, July 19, 12

Page 12: Resolution Independence - Preparing Websites for Retina Displays

Text Shadows

Multiple Text Shadows

Box Shadows

Inset Box Shadows

Multiple Box Shadows

Only on boxes and text :(

CSS Drop ShadowsCSS Effects

Thursday, July 19, 12

Page 13: Resolution Independence - Preparing Websites for Retina Displays

1.Setting the distance via X/Y

2.Setting the size (it’s possible to support spread as well)

3.Color can be set via hex code

4.or color and opacity can be set via RGBA values

CSS Drop ShadowsCSS Effects

Thursday, July 19, 12

Page 14: Resolution Independence - Preparing Websites for Retina Displays

Rounded Corners

You can make circles!

Control each corner

Border RadiusCSS Effects

Thursday, July 19, 12

Page 15: Resolution Independence - Preparing Websites for Retina Displays

Perfect Resolution IndependenceShadows and rounded corners scale beautifully

Thursday, July 19, 12

Page 16: Resolution Independence - Preparing Websites for Retina Displays

Can do linear or radial

Can do RGBA (transparency)

Can be layered for interesting effectshttp://lea.verou.me/css3patterns/

Will be supported in IE10, but we can create fallbacks

Ultimate CSS Generator is great and works just like gradients in Photoshop. http://www.colorzilla.com/gradient-editor/

CSS GradientsCSS Effects

Thursday, July 19, 12

Page 17: Resolution Independence - Preparing Websites for Retina Displays

Isn’t this more difficult?

Using web fonts shouldn’t impact design at all.

Using SVG is a little more hassle, but worth the effort.

Using CSS effects can ease development and designers only need to be aware of how we’re using them.

Designers may need to keep track of high-res assets for developers. Use “place” in Photoshop for example.

Thursday, July 19, 12

Page 18: Resolution Independence - Preparing Websites for Retina Displays

What other benefits are there?Web fonts

Lower bandwidth due to few graphicsEasier to updateNecessary for dynamic text

SVGTiny files

CSS EffectsLower bandwidth due to few graphicsEasier to updateCan change styles subtly without needing all new graphicsCSS animations!

Thursday, July 19, 12

Page 19: Resolution Independence - Preparing Websites for Retina Displays

This isn’t a mandate.There are no laws being made here.

Thursday, July 19, 12

Page 20: Resolution Independence - Preparing Websites for Retina Displays

Be aware of what’s possible.Let’s push the envelope!

Thursday, July 19, 12

Page 21: Resolution Independence - Preparing Websites for Retina Displays

Thank you for listening!Any Questions?

Thursday, July 19, 12


Recommended