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.

Slides:



Advertisements
Similar presentations
Slide 1. Murach's HTML5 and CSS3, C6 Slide 2 Layout Control is a critical issue in any website/pages design. Traditionally and conveniently (but not satisfactorily)
Advertisements

Cascading Style Sheets
CSS The basics { }. CSS Cascading Style Sheets - language used to – describe html appearance & formatting Style Sheet - file that describes – how html.
Chapter 6 More CSS Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 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.
Intro to CSS3 Vishal Kurup. Cascading Style Sheets Developed to enable the separation of document content from document presentation Initial release in.
Miscellaneous 2. Multiple Columns Create multiple columns for laying out text - like in newspapers! Properties: – column-count – column-gap – column-rule.
HTML 5 Previous version: HTML4.01, 1999 Still work in progress, most browsers support some of it.
More CSS. Lecture Overview CSS3 Crash Course What makes a good selector? CSS Reference.
CHAPTER 23 CSS TRANSFORMATIONS AND ROTATIONS. LEARNING OBJECTIVES How to use the transform property rotate function to rotate an HTML element on a page.
HTML5 AND CSS3 William Neely CEO, Piecewise.com Matt Brendzel GA Boston Programs Producer.
  Just another way to collect pieces together (like div, section)  Anything can be in there  Formatting just like all other elements.
HIGHER COMPUTING CSS. WHAT IS CSS? CSS: Cascaded Style Sheets used to separate a web site’s content(information) from its style(how it looks).
 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.
Chapter 11 Cascading Style Sheets: Part I The Web Warrior Guide to Web Design Technologies.
PRO HTML5 PROGRAMMING POWERFUL APIS FOR RICHER INTERNET APPLICATION DEVELOPMENT.
By Tuyet Le & Madhura Pitale. Seating Chart with CSS3.
Cascading Style Sheets. Defines the presentation of one or more web pages Similar to a template Can control the appearance of an entire web site giving.
INTRODUCTION TO HTML5 Styling with CSS3. Round Border Corners  You can modify any element that supports the border property and render rounded borders.
HTML Structure & syntax
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
Ins & Outs of. CSS3 is Modular Can we use it now?
MIS 425 Lecture 3 – HTML 5 and CSS Instructor: Martin Neuhard
CSS Font CSS font properties define the font family, boldness, size, and the style of a text. CSS Font Families Generic family Font familyDescription Serif.
XHTML and CSS Session 1 Intro, (X)HTML, CSS, W3C, browsers, webpage, structure, tags, attributes, elements, web development process, basic XHTML elements.
Today’s Agenda Advanced CSS Techniques Floating Z-index Centering Sliding Doors Fluid Layouts CSS3 Advanced CSS Lab Mini Project #2.
Table Tables are defined with the tag. A table is divided into rows with the tag. (tr stands for table row) A row is divided into data cells with the tag.
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.
Web Site Design: Layout Fall Basic Concepts Basic Web Design Concepts – Proximity – Alignment – Repetition – Contrast
UPLOAD / DOWNLOAD april  HTML5 is just the next iteration of HTML  Previous version was technically HTML 4.01, which incorporated XHTML 1.0.
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.
Cascading Style Sheets Level 2. Course Objectives, Session 1 Level 1 Quick Review Chapter 8: Adding Graphics to Web Pages Chapter 9: Sprucing Up Your.
Browser Wars (Click on the logo to see the performance)
XHTML Formatting font with a style declaration. Formatting Font HTML uses the font tag to change size and family of font But… the font tag is being deprecated.
Lesson 9. * Testing Your browser * Using different browser tools * Using conditional comments with * Dealing with future compatibility problems.
Are You Smarter Than a 5 th Grader? 1,000,000 5th Grade HTML 5th Grade Syntax 4th Grade HTML 4th Grade Syntax 3rd Grade HTML 3rd Grade Syntax 2nd Grade.
HTML5 & CSS3 A Practical Guide. HTML5 is more than HTML5 HTML5 Spec CSS3 Spec Web Fonts JavaScript to tie it all together.
Managing the Graphical Interface by Using CSS Lesson 7.
Doncho Minkov Telerik School Academy schoolacademy.telerik.com Technical Trainer
M ULTIMEDIA ON THE W EB. Multimedia Purpose of Multimedia Multimedia Issues HTML5 and elements CSS Transitions and Animations Animation to avoid.
CSCI 3100 Tutorial 2 Web Development Tools 1 HTML 5 & CSS 3 1.
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.
The HTML5 logo was introduced by W3C in 2010
Creating Visual Effects
CSS 3 – Overview What is new in CSS 3? Nikolay Kostov
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.
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
Creating Visual Effects and Animation
Web Systems & Technologies
HTML5 Application Development Fundamentals
How Marquette University customized LibCal
CSS3 and New HTML5 Tools.
CSS Borders and Margins.
Box model, spacing, borders, backgrounds
Basics of Web Design Chapter 6 More CSS Basics Key Concepts
CSS and Box Model.
استاد:مهندس زمانیان ارائه دهنده:پونه موسوی تاریخ: 1392/4/5
Openreach Application
Web Page Design CIS 300.
How to use the CSS box model for spacing, borders, and backgrounds
CSS level 3.
Progressive Enhancement Using CSS 3
Presentation transcript:

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. The CSS3 specification is still under development by the World Wide Web Consortium. Many of the new CSS3 properties have been implemented in modern browsers but will only work with certain tags at the beginning such as “–moz-” & “-webkit-”. Internet Explorer 8 (and older) does not support CSS3.

What can CSS3 do? DIVs can now have built in rounded edges. border-radius:20px; -moz-border-radius:20px; The code above works with Google Chrome, Safari, Firefox, & Opera * Firefox requires the prefix -moz- for this code*

What can CSS3 do? DIVs can now have built in drop shadows. background-color:blue; box-shadow:15px 15px 9px #ff0000; -moz-box-shadow:15px 15px 9px #ff0000; -webkit-box-shadow:15px 15px 9px #ff0000; 1st # = x axis, 2nd # = y axis,3 rd Number = size of drop shadow, & Hexadecimal or color name dictates drop shadow color *Firefox requires the prefix -moz- & Safari and Chrome require the prefix -webkit- for this code. “Text-shadow” tag is similar and can be applied to text.*

What can CSS3 do? CSS3 allows greater control of background elements. Resizing: background:url(tree.jpg); background-size:75px 55px; -moz-background-size:75px 55px; *Firefox requires the prefix -moz- & percentages can be used instead of pixels* Multiple Background Images: background-image:url(grass.gif),url(bee.jpg); *First image listed will be on top of next image listed*

What can CSS3 do? CSS3 allows DIVs to be rotated (rotates clockwise at a given degree) & skewed (turns in a given angle, depending on the parameters given for the x & y axis). Rotation: transform: rotate(20deg); -webkit-transform: rotate(20deg); -moz-transform: rotate(20deg); -o-transform: rotate(20deg); Skew: transform: skew(20deg,25deg); -webkit-transform: skew(20deg,25deg); -moz-transform: skew(20deg,25deg); -o-transform: skew(20deg,25deg); *“-moz-” = Firefox, “-webkit-” = Safari and Chrome, “-o-” = Opera*

What can CSS3 do? CSS3 also allows web designers to use different fonts other than “web safe” fonts. Fonts can be found or purchased via the internet. You will have to describe your selected font with the new rule. Define in myFirstFont; src:url(‘Chopin_Script.ttf')} Using New Font in a DIV: font-family:myFirstFont;

CSS3 REVIEW The CSS3 specification is still under development so some specialized tags for browsers are still required (“-moz-”, “-webkit-”, “-o-”) while some browsers do not work with CSS3 at all (IE8 & older). Rotation: transform: rotate(20deg); -webkit-transform: rotate(20deg); -moz-transform: rotate(20deg); -o-transform: rotate(20deg); Skew: transform: skew(20deg,25deg); -webkit-transform: skew(20deg,25deg); -moz-transform: skew(20deg,25deg); -o-transform: skew(20deg,25deg); Rounded Edges: border-radius:20px; -moz-border-radius:20px ; Non-”web safe” myFirstFont; src:url(‘Chopin_Script.ttf')} font-family:myFirstFont; Resized Background: Multiple Backgrounds: background:url(table.jpg); background-image:url(grass.gif) background-size:90px 80px;,url(bee.jpg); -moz-background-size:90px 80px; To learn more CSS3 tags, go to w3schools.com/css3