HTML5 AND CSS3 William Neely CEO, Piecewise.com Matt Brendzel GA Boston Programs Producer.

Slides:



Advertisements
Similar presentations
CSS3 OVERVIEW Owen Williams Owen at dynabooks daht com.
Advertisements

Chapter 6 More CSS Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
User Interface Design using jQuery Mobile CIS 136 Building Mobile Apps 1.
CSS level 3. History of CSS CSS level 1 – original CSS CSS level 2 CSS level 2 Revision 1 (CSS2.1) – up to CSS2.1 monolithic structure CSS level 3 – specification.
Neal Stublen Transforms  Defined by the transform property Translate Rotate Scale Skew  Apply to any element without affecting.
Tutorial 4: Creating page layout with css
Intro to CSS3 Vishal Kurup. Cascading Style Sheets Developed to enable the separation of document content from document presentation Initial release in.
The future of CSS. What can CSS3 do? CSS3 is completely backwards compatible, so no need to change existing designs. Browsers will always support CSS2.
Tutorial 4: Creating page layout with css
Miscellaneous 2. Multiple Columns Create multiple columns for laying out text - like in newspapers! Properties: – column-count – column-gap – column-rule.
Basics of Web Design Chapter 6 More CSS Basics Key Concepts.
CIT 256 CSS Divs & Buttons Dr. Beryl Hoffman. CSS for Layout We now can make our own divs to divide up a web page : Header Header Navigation Navigation.
HTML 5 Previous version: HTML4.01, 1999 Still work in progress, most browsers support some of it.
CIS 1310 – HTML & CSS 4 Visual Elements and Graphics.
More CSS. Lecture Overview CSS3 Crash Course What makes a good selector? CSS Reference.
Basics of Web Design Chapter 6 More CSS Basics Key Concepts 1.
TUTORIAL 8: Enhancing a Web Site with Advanced CSS
IMAGES Controlling size of images in CSS Aligning images in CSS Adding background images.
Page Layout & Mobile Web Using columns, grid systems, etc… to layout sites for desktops and mobile.
Week 6.  Browser DOCTYPE switching What it means for you  – now is the time  CSS3 Web design for the 21 st Century.
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?
Mark J Collins October 6 th, Selectors Element selectors Class selectors ID Selectors Attribute selectors Pseudo-class selectors Combining selectors.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 4 Key Concepts 1 Copyright © Terry Felke-Morris.
Tutorial 8 Enhancing a Web Site with Advanced CSS
COMP213 – Web Interface Design
HTML, CSS, and XML Tutorial 8 Enhancing a Web Site with Advanced CSS.
Tutorial #6 – Creating Fixed Width Layouts. Tutorial #5 Review – Box Model Every html element is surround by a box Content, Padding, Border, Margin Can.
Unit I Applying Advanced Styling CSS. CSS3 can style many aspects that in the past required integration of images New features are not supported by all.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 14: Enhancements and Effects with CSS3.
INT222 - Internet Fundamentals Shi, Yue (Sunny) Office: T2095 SENECA COLLEGE.
Neal Stublen New Element Styling  html5shiv.js provided support in older IE browsers for new sectioning elements aside, header,
WEB DEVELOPMENT IMMERSIVE BUILDING PAGE LAYOUTS. 2 Box Model Scaling Positioning Boxes Box Aesthetics HTML 5 Semantic Tags CSS Resets TOPICS GENERAL ASSEMBLYWEB.
Managing the Graphical Interface by Using CSS Lesson 7.
PERSPECTIVES: TUTORIAL 4 CREATING PAGE LAYOUTS WITH CSS.
INT222 – Internet Fundamentals Week 8: Using New HTML features 1.
3.3. Managing the Graphical Interface by Using CSS. Managing the Graphical Interface by Using CSS.
Web Design (17) CSS Box Element (2). ‘Box’ Web Site (1) Insert a navigation bar into the index.html file and create links to ‘index.html’, ‘pageone.html’
RMLL 2010 HTML 5 and CSS 3 insights Libre Software Meeting Bordeaux - wednesday 7th july 2010 Francis Draillard, "Premiers pas en CSS et XHTML" - Eyrolles.
CSS.
Formatting Text with CSS
Google fonts CSS box model
CSS3 Style of the HTML document CSS2+New Specifications Differences
Chapter 5 Introduction to Cascading Style Sheets (CSS): Part 2
Tutorial 4 Topic: CSS 3.0 Li Xu
Advanced CSS & CSS3.
Creating Page Layouts with CSS
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
Advanced CSS BIS1523 – Lecture 20.
CSS Transform Apply 2D or 3D Transformations to an Element: Translate | Scale | Rotate | Skew.
Box model.
Web Systems & Technologies
BOX DIMENSIONS width, height div { height: 300px; width: 400px; background-color: #ee3e80;} p { height: 75%; width: 75%; background-color:
Chapter 6 More CSS Basics Key Concepts
Objectives Create a figure box Add a background image
Basics of Web Design Chapter 6 More CSS Basics Key Concepts
CSS Box Model.
Box model, spacing, borders, backgrounds
Basics of Web Design Chapter 6 More CSS Basics Key Concepts
استاد:مهندس زمانیان ارائه دهنده:پونه موسوی تاریخ: 1392/4/5
Basics of Web Design Chapter 6 More CSS Basics Key Concepts
SEEM4570 Tutorial 3: CSS + CSS3.0
How to use the CSS box model for spacing, borders, and backgrounds
CSS level 3.
CSS and Class Tools.
Progressive Enhancement Using CSS 3
Presentation transcript:

HTML5 AND CSS3 William Neely CEO, Piecewise.com Matt Brendzel GA Boston Programs Producer

NEW HTML5 STRUCTURAL ELEMENTS HTL5 ‣ Header ‣ Contains the header *zOmg, no way, really?!?* ‣ Hgroup ‣ Wrap multiple headings into one ‣ Footer ‣ Nav ‣ Article ‣ Stand alone content ‣ Ex: news story ‣ RSS 2 ‣ Section ‣ Group similar articles ‣ Define sections of single article ‣ Time ‣ For dates/times ‣ Q. Why useful? ‣ Aside ‣ Related but not essential ‣ Figure,figcaption ‣ For figures and captions

BOILERPLATE HTML5 Go over example

BROWSER CONDITIONALS BROWSER HACKS IE Insert HTML, CSS, JS only for IE Target specific IE versions gt(e), greater than (equal) lt(e), less than (equal) Change CSS url- prefix(){} screen and (- webkit-min-device-pixel-ratio:0){ }

VENDOR PREFIXES CSS3 ‣ Needed for parts of CSS3 ‣ Mozilla/Firefox/Gecko: -moz- ‣ Webkit (Safari/Chrome): -webkit- ‣ Opera: -o- ‣ IE: -ms- ‣ No rule of thumb

BOX SHADOW CSS3 ‣ Style ‣ Box-shadow,-mox-box- shadow,-webkit-box-shadow ‣ Ex: box-shadow:#CCC 3px 4px 5px 6px* inset*; *optional ‣ #CCC ‣ Shadow color ‣ 3px ‣ Horizontal offset ‣ 4px ‣ Vertical offset ‣ 5px ‣ Blur value (how fast) ‣ 6px ‣ Blur spread (how far) Inset If used, shadow inside box If not used, shadow outside box

BORDER RADIUS AND TEXT SHADOW CSS3 Border-radius adds rounded corners can create circles Ex: border-radius:5px; border-radius: 5px 10px; border-radius: 4px 5px 7px 10px; border-radius: 5px/4px; (ellipse) Text-shadow text-shadow: 2px 3px 4px* #CCC; 2px=horizontal shadow 3px=vertical shadow 4px=blur #CCC=shadow color

RGBA CSS3 RGBA Red,green,blue,alpha (opacity) Use instead of # Allows opacity without affecting children

OPTIONS Busy Hands CSS arrows and ribbons 2d/3d transformations

2D/3D TRANSFORMS TRANSFORMS ‣ Require browser prefixes ‣ IE, Opera only 2D ‣ Scale ‣ Make bigger ‣ Transform:scale(xFactor,y Factor) ‣ Translate ‣ Moves element by offset x,y ‣ Transform:translate(x,y) ‣ Rotate ‣ Rotates element by degree ‣ Transform:rotate(30deg) ‣ Skew ‣ Skews element by degrees ‣ Transform:skew(xDeg,yD eg)

3D TRANSFORMS ‣ RotateX ‣ Rotates element around X axis ‣ Transform:rotateX(xDeg) ‣ RotateY ‣ Rotates element around Y axis ‣ Transform:rotateY(yDeg)

ARROWS ‣ Css-tricks.com ( tricks.com/snippets/css/css-triangle/) ‣ Arrow ‣ Height,width = 0 ‣ Up arrow ‣ Border-left,right:10px solid transparent; ‣ Border-bottom:10px solid; ‣ Left arrow ‣ Border-top,bottom:10px solid transparent; ‣ Border-right:10px solid #000; ‣ Rules ‣ Colored border opposite of direction arrow will point ‣ Right arrow ‣ Colored left border ‣ Transparent border ‣ If arrow left/right ‣ Transparent top/bottom ‣ If arrow top/bottom ‣ Transparent left/right No border for side that matches arrow

RIBBONS ‣ Css-tricks.com ( tricks.com/snippets/css/ribbon/) ‣ Use arrows and pseudo elements