HTML5, part II – design Štěpán Developer Evangelist Microsoft, Czech Republic.

Slides:



Advertisements
Similar presentations
Ideas to Layout Beginning web layout using Cascading Style Sheets (CSS). Basic ideas, practices, tools and resources for designing a tableless web site.
Advertisements

Chapter 6 More CSS Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Part 2 Introduction to CSS. CSS Syntax – class selector 1 With the class selector you can define different styles for the same type of HTML element. You.
HTML5, part I – markup Štěpán Developer Evangelist Microsoft, Czech Republic.
Intro to CSS3 Vishal Kurup. Cascading Style Sheets Developed to enable the separation of document content from document presentation Initial release in.
Philly.NET Hands-On MVC Razor, HTML5, CSS3 Rob Keiser, Bill Wolff.
Basics of Web Design Chapter 6 More CSS Basics Key Concepts.
Basics of Web Design Chapter 6 More CSS Basics Key Concepts 1.
Working with Cascading Style Sheets. 2 Objectives Introducing Cascading Style Sheets Using Inline Styles Using Embedded Styles Using an External Style.
INF Web Design HTML5 and CSS3. HTML 5 and CSS 3 to the rescue? HTML 5 Specifically designed for web applications on all platforms HTML 5 will update.
TUTORIAL 8: Enhancing a Web Site with Advanced CSS
 Using Microsoft Expression Web you can: › Create Web pages and Web sites › Set what you site will look like as you design it › Add text, images, multimedia.
Week 6.  Browser DOCTYPE switching What it means for you  – now is the time  CSS3 Web design for the 21 st Century.
Tutorial 6 Creating Tables and CSS Layouts. Objectives Session 6.1 – Create a data table to display and organize data – Modify table properties and layout.
Working with Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of a document.
XP Tutorial 7New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks.
IE11 Preview is here! Briefing prepared for the IE MVPs and IE userAgents communities.
Building Windows 8 Apps with HTML & JavaScript Jaime Rodriguez Principal
Neal Stublen Font Limitations  Browsers can only display the fonts installed on the device Arial, Verdana, Times, Georgia  Custom.
Windows Store apps with HTML + Facebook integration
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 4 Key Concepts 1 Copyright © Terry Felke-Morris.
New Perspectives on XML, 2nd Edition Tutorial 5 1 TUTORIAL 5 WORKING WITH CASCADING STYLE SHEETS.
CSS Positioning Creating Special Effects with CSS CS202 Working with Cascading Style Sheets (Chapter 4) CS202 1.
By Tuyet Le & Madhura Pitale. Seating Chart with CSS3.
INTRODUCTION TO HTML5 Styling with CSS3. Round Border Corners  You can modify any element that supports the border property and render rounded borders.
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Ins & Outs of. CSS3 is Modular Can we use it now?
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 4 Key Concepts 1 Copyright © Terry Felke-Morris.
CHAPTER 3 CSS & CSS3 อ. ยืนยง กันทะเนตร คณะเทคโนโลยีสารสนเทศและการสื่อสาร มหาวิทยาลัยพะเยา 1.
WELCOME TO THE NEXT GENERATION OF WEB DESIGN Thomas Lewis Principal Technical Evangelist | asimplepixel.tumblr.com SESSION CODE: WEB102.
MySQL and PHP Review CSS. Cascading Style Sheet (CSS) Style sheets are files or forms that describe the layout and appearance of a document. Cascading.
Tutorial 8 Enhancing a Web Site with Advanced CSS
Congratulations! You are part of a global community of thousands of web developers who attend Web Camps to keep their web development skills up-to-date.
Tutorial 5 Working with Tables and Columns
Tutorial 5 Working with Tables and Columns
COMP213 – Web Interface Design
Object Oriented Software Development 9. Creating Graphical User Interfaces.
HTML, CSS, and XML Tutorial 8 Enhancing a Web Site with Advanced CSS.
HTML5, part III – API, … Štěpán Developer Evangelist Microsoft, Czech Republic.
CSS 2D Transforms CSS 3D Transforms CSS Animations CSS Backgrounds & Borders CSS Color CSS Flexbox CSS Fonts CSS Grid CSS Hyphenation CSS Image Values.
Apps just in… More developers More Downloads More apps Amazing Momentum Since Launch.
HTML5, part IV – Connected Devices Štěpán Developer Evangelist Microsoft, Czech Republic.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 14: Enhancements and Effects with CSS3.
XP Review 2 New Perspectives on JavaScript, Comprehensive1 Introducing Cascading Style Sheets Formatting Web Pages with CSS.
Neal Stublen New Element Styling  html5shiv.js provided support in older IE browsers for new sectioning elements aside, header,
Web Technologies Lecture 2 HTML and CSS. HTML Hyper Text Markup Language – Describes web documents – Made up of nested HTML markup tags – Tags are the.
CNIT 132 – Week 4 Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of.
HTML5 & CSS3 A Practical Guide. HTML5 is more than HTML5 HTML5 Spec CSS3 Spec Web Fonts JavaScript to tie it all together.
Internet Explorer 10 IE9 hardware-accelerated platform CSS 2D Transforms CSS Backgrounds & Borders CSS Color CSS Fonts CSS Media Queries CSS Namespaces.
Advanced CSS. Display  Hiding an element can be done in two ways  display:none  Element is hidden and will no longer take up space on the page  Can.
Web Development Basics Lecture 5 – CSS 3. Introduction  Early draft of CSS 3 started in 1999 at the W3C just after the CSS 2 recommendation.  CSS 3.
Understanding CSS Cascading Style Sheets control the presentation of content in HTML pages Style Sheets separate formatting from the content –Styles defined.
Web Design Terminology Unit 2 STEM. 1. Accessibility – a web page or site that address the users limitations or disabilities 2. Active server page (ASP)
XP Tutorial 7New Perspectives on HTML and XHTML, Comprehensive 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
Basic in Photoshop Tools in Photoshop Simple templates design menu in Photoshop different navigation bar image effects Design your portfolio page Design.
Agenda The User Interface The CSS Box Model The Flexbox Box Model Grid Layouts.
The HTML5 logo was introduced by W3C in 2010
Working with Cascading Style Sheets
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
Web Systems & Technologies
HTML5 Application Development Fundamentals
Building beautiful and interactive apps with HTML5 & CSS3
Chapter 6 More CSS Basics Key Concepts
Basics of Web Design Chapter 6 More CSS Basics Key Concepts
Basics of Web Design Chapter 6 More CSS Basics Key Concepts
Software Engineering for Internet Applications
Basics of Web Design Chapter 6 More CSS Basics Key Concepts
Why use Web Standards?.
Presentation transcript:

HTML5, part II – design Štěpán Developer Evangelist Microsoft, Czech Republic

CSS3  2D Transforms  Backgrounds and Borders Module  Color Module  Fonts Module  Media Queries Module  Namespaces Module  Values and Units Module  Selectors  Flexible Box Layout Module  Multi-column Layout Module

2D Transforms  Elements transformed in two-dimensional space  matrix(a,b,c,d,e,f )  translate(tx,[ty])  translateX(tx)  translateY(ty)  scale(sx,[sy])  scaleX(sx)  scaleY(sy)  rotate(angle )  skew(ax,[ay])  skewX(ax)  skewY(ay)

Backgrounds and Borders Module  background-*  border-radius  box-shadow  text-shadow

Color Module  RGBA Color model  HSL Color Model  HSLA Color Model  Opacity Property  List of color keywords for CSS identical to that for SVG 1.0

Fonts Module  Generic fonts can destroy page layout  Font support  TTF  OpenType  WOFF (W3C Web Fonts Working Group)   Google web fonts gallery

Media Queries Module  Easy support for different devices  Query language for screen type  Size, orientation, …  Media Query Listeners  Javascript  windows.msMatchMedia(query)  Fires event when media changes  Check if media match

Selectors  Structural Pseudo-Classes  Example: E:last-child  UI Element States Pseudo-Classes  Example: E:checked  Forms validity

Gradients /* IE10 */ background-image: -ms-linear-gradient(top left, #FFFFFF 0%, #00A3EF 100%); /* Mozilla Firefox */ background-image: -moz-linear-gradient(top left, #FFFFFF 0%, #00A3EF 100%); /* Opera */ background-image: -o-linear-gradient(top left, #FFFFFF 0%, #00A3EF 100%); /* Webkit (Safari/Chrome 10) */ background-image: -webkit-gradient(linear, left top, right bottom, color- stop(0, #FFFFFF), color-stop(1, #00A3EF)); /* Webkit (Chrome 11+) */ background-image: -webkit-linear-gradient(top left, #FFFFFF 0%, #00A3EF 100%); /* Proposed W3C Markup */ background-image: linear-gradient(top left, #FFFFFF 0%, #00A3EF 100%);

Flexible Box Layout Module  Allows vertical and horizontal distribution of child elements  Switch on: display: -ms-box;  Properties  -ms-box-align (Horizontal Alignment)  -ms-box-pack (Vertical Alignment)  -ms-box-flex (Flexibility)

Grid Layout  Grid definition  grid-columns  grid-rows  Position in grid  grid-column  grid-row  grid-row-span  grid-column-span

Multi-column Layout Module  Properties  column-count  column-width  column-rule-width  column-rule-style  column-rule-color  column-gap  column-width  break-inside

Expression Web 4 SuperPreview

Scalable Vector Graphics   Separate file or part of HTML document  DOM of SVG can be changed by Javascript

HTML5.cz  Shromažďuje české zdroje  Komunitní překlad knihy Marka Pilgrima „Dive into HTML5“

Resources  Books  Introducing HTML5 by Bruce Lawson & Remy Sharp  W3C  W3C HTML5 Specification –  HTML5 Test Suite – test.w3.org/html/tests/reporting/report.htmtest.w3.org/html/tests/reporting/report.htm  Validator – validator.w3.org/validator.w3.org/  Microsoft Internet Explorer 9 and 10  Engineering Blog – blogs.msdn.com/ie/blogs.msdn.com/ie/  Beauty Of The Web –  IE Test Drive –  HTML5 Labs – html5labs.interoperabilitybridges.com/html5labs.interoperabilitybridges.com/