backwards compatible html5/css3 apps in asp.net

15
Backwards Compatible HTML5/CSS3 Apps in ASP.NET Nik Kalyani, Founder/CEO, HyperCrunch, Inc.

Upload: gurit

Post on 16-Feb-2016

40 views

Category:

Documents


0 download

DESCRIPTION

Backwards Compatible HTML5/CSS3 Apps in ASP.NET . Nik Kalyani, Founder/CEO, HyperCrunch, Inc. m y hometown. m e. m y company. Nik Kalyani. CALIFORNIA. 1994. 1996. 1998. 2000. 2002. 2004. 2006. 2008. 2010. 2012. stuff I did. Sold. Co-founded. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Backwards Compatible HTML5/CSS3 Apps in ASP.NET

Backwards Compatible HTML5/CSS3 Apps in ASP.NET

Nik Kalyani, Founder/CEO, HyperCrunch, Inc.

Page 2: Backwards Compatible HTML5/CSS3 Apps in ASP.NET

19961994 2008200620042002 201020001998 2012

NikKalyani

Definiti, Inc.(Technology Services)

iWidgets, Inc.(Venture Funded DotCom)

DotNetNuke Corp.(Venture Funded O/S CMS)

HyperCrunch, Inc.(Stealth Mode)

Award Recognition:Microsoft MVP ASP.NET

19961994 2008200620042002 201020001998 2012

Co-founded Sold

Founded Folded

Co-founded

Founded

CALI

FORN

IA

me my company

my hometown

stuff I did

Page 3: Backwards Compatible HTML5/CSS3 Apps in ASP.NET

Agenda

• Highlights: HTML5 and CSS3

• Code

• Q and A

Page 4: Backwards Compatible HTML5/CSS3 Apps in ASP.NET

Highlights: HTML5 & CSS3

Page 5: Backwards Compatible HTML5/CSS3 Apps in ASP.NET

Overview

HTML 5• Specifically designed for

web applications

• Nice to search engines and screen readers

• HTML 5 will update HTML 4.01, DOM Level 2

CSS level 3• Will make it easier to do

complex designs

• Will look the same across all browsers

• CSS 3 will update CSS level 2 (CSS 2.1)

Page 6: Backwards Compatible HTML5/CSS3 Apps in ASP.NET

HTML5: New DocType

• <!DOCTYPE html>

• Works now in all browsers for “standards mode” start using it!

Page 7: Backwards Compatible HTML5/CSS3 Apps in ASP.NET

Structural Elements<header> <nav><article><aside><section><footer>

<summary><details>

Page 8: Backwards Compatible HTML5/CSS3 Apps in ASP.NET

HTML5: Audio & Video

• Native Audio Element <audio> <source src="music.oga" type="audio/ogg"> <source src="music.mp3" type="audio/mpeg"> </audio>

• Native Video Element

<video src="video.ogv" controls poster="poster.jpg"> <a href="video.ogv">Download movie</a> </video>

Page 9: Backwards Compatible HTML5/CSS3 Apps in ASP.NET

HTML5: Canvas - 2D Drawing

function draw() { var ctx = document.getElementById('canvas').getContext('2d'); var img = new Image(); img.onload = function(){ ctx.drawImage(img,0,0); ctx.beginPath(); ctx.moveTo(30,96); ctx.lineTo(70,66); ctx.lineTo(103,76); ctx.lineTo(170,15); ctx.stroke(); } img.src = 'images/backdrop.png'; }

Page 10: Backwards Compatible HTML5/CSS3 Apps in ASP.NET

HTML5: Form Elements

• New Input Typestel, search, url, email,

datetime, date, month, week, time, datetime-local,

number, range, color

• New Elements<datalist>

<meter> <progress>

<output>

Page 11: Backwards Compatible HTML5/CSS3 Apps in ASP.NET

HTML5: DOM APIs

• Geo-location

• Structured Client-side Storage

• Cross-document Messaging

• Drag and Drop

Page 12: Backwards Compatible HTML5/CSS3 Apps in ASP.NET

CSS3

• Attributesopacity, rgb, hsla

background-size, background-image

border-color, border-image, border-radius, box-shadow

text-overflow, text-shadow, column-width, column-gap

Page 13: Backwards Compatible HTML5/CSS3 Apps in ASP.NET

Code

Download: http://www.kalyani.com

Page 14: Backwards Compatible HTML5/CSS3 Apps in ASP.NET

Resources

• http://html5doctor.com/

• http://www.html5test.com/

• My Blog: http://www.kalyani.com

Page 15: Backwards Compatible HTML5/CSS3 Apps in ASP.NET