+ All Categories
Home > Technology > Modernizr - Detecting HTML5 and CSS3 support

Modernizr - Detecting HTML5 and CSS3 support

Date post: 15-Jan-2015
Category:
Upload: paul-irish
View: 3,600 times
Download: 0 times
Share this document with a friend
Description:
 
Popular Tags:
15
Progressive Enhancement in the age of HTML5 and CSS3 using Modernizr Paul Irish Molecular NC jQuery & JavaScript Camp ’10
Transcript
Page 1: Modernizr - Detecting HTML5 and CSS3 support

Progressive Enhancement in the age of HTML5 and CSS3using Modernizr

Paul Irish

Molecular

NC jQuery & JavaScript Camp ’10

Page 2: Modernizr - Detecting HTML5 and CSS3 support

HTML5 & CSS3 Coolness™

Page 3: Modernizr - Detecting HTML5 and CSS3 support

Rounded corners @font-face fontsCanvasrgba(), hsla() colorsborder-imagebox-shadowHTML5 Audio & VideoCSS AnimationsCSS Transitions

2D TransformationsCSS GradientsSVGGeolocationCSS ColumnsHTML5 FormsWeb WorkersOffline Web Apps…and so on and so on.

HTML5 & CSS3 Coolness™

Page 4: Modernizr - Detecting HTML5 and CSS3 support

ishtml5readyyet.com

Page 5: Modernizr - Detecting HTML5 and CSS3 support

ishtml5readyyet.com

SHUT UP!

you’re wrong.

Page 6: Modernizr - Detecting HTML5 and CSS3 support

ModernizrMaking use of tomorrow’s technologies, today!

Page 7: Modernizr - Detecting HTML5 and CSS3 support
Page 8: Modernizr - Detecting HTML5 and CSS3 support

Feature DetectionJust Detect It™

Page 9: Modernizr - Detecting HTML5 and CSS3 support
Page 10: Modernizr - Detecting HTML5 and CSS3 support

Native Implementation

. box {// use border-radius

}

No Native Implementation

.no-borderradius .box {// maybe less padding?

}

if (Modernizr.borderradius == false){// call up DD_roundies, etc.

}

Page 11: Modernizr - Detecting HTML5 and CSS3 support
Page 12: Modernizr - Detecting HTML5 and CSS3 support

OMG it’s only 7k!

Page 13: Modernizr - Detecting HTML5 and CSS3 support

Rounded corners @font-face fontsCanvasrgba(), hsla() colorsborder-imagebox-shadowHTML5 Audio & VideoCSS AnimationsCSS Transitions

2D TransformationsCSS GradientsSVGGeolocationCSS ColumnsHTML5 FormsWeb WorkersOffline Web Apps…

We got you covered, b.

Page 14: Modernizr - Detecting HTML5 and CSS3 support

Rounded corners @font-face fontsCanvasrgba(), hsla() colorsborder-imagebox-shadowHTML5 Audio & VideoCSS AnimationsCSS Transitions

2D TransformationsCSS GradientsSVGGeolocationCSS ColumnsHTML5 FormsWeb WorkersOffline Web Apps…and so on and so on.

We got you covered, b.

webGLSMILhashchange eventlocalStoragesessionStoragepostMessagehtml5 drag ‘n dropweb sql database

Page 15: Modernizr - Detecting HTML5 and CSS3 support

Modernizr

http://modernizr.com

@modernizr

Me:

http://paulirish.com

@paul_irish

Yah, it’s open source. Fork it, baby.


Recommended