35
HTML5 on Mobile (For Designer) Adam Lu http://adamlu.com /

HTML5 on Mobile(For Designer)

  • Upload
    adam-lu

  • View
    5.526

  • Download
    0

Embed Size (px)

DESCRIPTION

Introduced some HTML5 features on mobile and how to build and design the mobile web page from the perspective of designer.

Citation preview

Page 1: HTML5 on Mobile(For Designer)

HTML5 on Mobile (For Designer)

Adam Luhttp://adamlu.com/

Page 3: HTML5 on Mobile(For Designer)

iPhone Users Use Data / Internet Far More than Average Mobile Users

Page 4: HTML5 on Mobile(For Designer)

Why Mobile Web?

• Web App vs. Native App• Web App to Native App

Page 5: HTML5 on Mobile(For Designer)

Think about Mobile User Interface

• Screen Size• Interaction• Usage Scenarios• Network Environment• Hardware Feature• Performance

Page 6: HTML5 on Mobile(For Designer)

HTML5 for Mobile

• CSS3 Support• Canvas and Video• GeoLocation API• Advanced Forms• Offline Support• Multimedia• Storage

Page 7: HTML5 on Mobile(For Designer)

PNG Alpha Transparency

• Semi-transparent areas in PNG files• http://www.w3.org/Graphics/PNG/inline-alph

a.html

Page 8: HTML5 on Mobile(For Designer)

CSS3 Colors

• Method of describing colors using Hue, Saturation and Lightness (hsl()) rather than just RGB, as well as allowing alpha-transparency with rgba() and hsla().

• http://www.zenelements.com/blog/css3-rgb-rgba-color-opacity/

Page 9: HTML5 on Mobile(For Designer)

Rounded Corner

• CSS3 Border Radius

Page 10: HTML5 on Mobile(For Designer)

Shadows

• Box Shadows• Text Shadows

Page 11: HTML5 on Mobile(For Designer)

Font

• Support for the TrueType (.ttf)and OpenType (.otf) outline font formats in @font-face

• http://www.zenelements.com/blog/css3-embed-font-face/

Page 12: HTML5 on Mobile(For Designer)

Gradient

• CSS3 Gradient• http://css-tricks.com/examples/CSS3Gradient

Page 13: HTML5 on Mobile(For Designer)

Layout

• CSS3 Multiple Column• http://www.zenelements.com/blog/css3-multi

ple-columns/• CSS3 Flexible Box Layout• http://www.html5rocks.com/en/tutorials/flex

box/quick/

Page 15: HTML5 on Mobile(For Designer)

Border

• Border Image• http://www.zenelements.com/blog/css3-bord

er-image/

Page 16: HTML5 on Mobile(For Designer)

Transform

• Rotate• Skew• Scale• http://www.zenelements.com/blog/css3-trans

form/

Page 17: HTML5 on Mobile(For Designer)

Transition

• http://www.zenelements.com/blog/css3-transition/

Page 18: HTML5 on Mobile(For Designer)

Local Storage

• Web storage and DOM storage (document object model) are web application software methods and protocols used for storing data in a web browser.

Page 19: HTML5 on Mobile(For Designer)

Graphic

• Canvas - Method of generating fast, dynamic graphics using JavaScript

• SVG - Method of displaying basic Vector Graphics features using the embed or object elements

Page 20: HTML5 on Mobile(For Designer)

Geolocation

• Method of informing a website of the user's geographical location

Page 22: HTML5 on Mobile(For Designer)

Forms

• Placeholder/Autofocus/AutoCapitalize/Type=email, tel, url…

• http://www.miketaylr.com/code/input-type-attr.html

Page 23: HTML5 on Mobile(For Designer)

Forms

Page 24: HTML5 on Mobile(For Designer)

Responsive Design

• Responsive Web design is the approach that suggests that design and development should respond to the user’s behavior and environment based on screen size, platform and orientation. http://www.alistapart.com/articles/responsive-web-design/

Page 25: HTML5 on Mobile(For Designer)

Responsive Design

Page 26: HTML5 on Mobile(For Designer)

Mobile Web Applications

• AppCache: Method of defining web page files to be cached using a cache manifest file, allowing them to work offline on subsequent visits to the page

• <meta name="apple-touch-fullscreen" content="yes"/>

• <link rel="apple-touch-icon" href="/custom_icon.png”/>

• …

Page 27: HTML5 on Mobile(For Designer)

Mobile Web Applications

Page 28: HTML5 on Mobile(For Designer)

Usage of HTML5 in Mobile Web

Page 29: HTML5 on Mobile(For Designer)

Usage of HTML5 in Mobile Web

Page 30: HTML5 on Mobile(For Designer)

Usage of HTML5 in Mobile Web

Page 31: HTML5 on Mobile(For Designer)

Usage of HTML5 in Mobile Web

Page 32: HTML5 on Mobile(For Designer)

Mobile Design Patterns

http://mobile-patterns.com/

Page 33: HTML5 on Mobile(For Designer)

Instrumentation

• http://haz.io/ • http://caniuse.com/• http://css3test.com/• http://css3generator.com/• http://css3info.com/• http://html5test.com/• http://css3please.com/ • http://mobilehtml5.org/

Page 34: HTML5 on Mobile(For Designer)

HTML5 is the future of Mobile!