CSS3   https://browserlab.adobe.com https://browserlab.adobe.com 

Slides:



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

HTML and CSS. HTML Hyper Text Markup Language Tells browser how to display text and images.
Web Pages Week 10 This week: CSS Next week: CSS – Part 2.
Chapter 6 More CSS Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
CSS CSS Precise Aesthetic Control. Cascading Style Sheets Though they can be put in HTML header, usually a separate page that the HTML links to Contains.
Advance CSS (Menu and Layout) Miftahul Huda. CSS Navigation MENU It's truly remarkable what can be achieved through CSS, especially with navigation menus.
CSS BASICS. CSS Rules Components of a CSS Rule  Selector: Part of the rule that targets an element to be styled  Declaration: Two or more parts: a.
With CSS, a color is most often specified by: a HEX value - like "#ff0000" an RGB value - like "rgb(255,0,0)" a color name - like "red“ Example h1.
Recognizing the Benefits of Using CSS 1. The Evolution of CSS CSS was developed to standardize display information CSS was slow to be supported by browsers.
Class four: the box model and positioning. is an HTML tag which allows you to create an element out of inline text. It doesn’t mean anything! try it:
Unit 20 - Client Side Customisation of Web Pages
Tutorial 4: Creating page layout with css
Stylin’ with CSS. 2 Topics What is CSS? Why CSS? CSS Examples.
ITI 133: HTML5 Desktop and Mobile Level I
WEB DESIGN Multimedia and Web. Today’s Objectives  Quick review selector types  Layout and positioning.
CSE CASCADING STYLE SHEETS CSS Faculty of Computer Science and Engineering.
Cascading Style Sheet (CSS) Instructor: Dr. Fang (Daisy) Tang
Stylin’ with CSS. 2 Topics What is CSS? Why CSS? CSS Examples.
CSS: Cascading Style Sheets. 2 History HTML tags were originally designed to define the content of a document. The layout of the document was supposed.
Web Design Transparent Backgrounds. Why : Allow text to appear clearly above a graphic background image that still can be seen in the background. Without.
Week 6.  Browser DOCTYPE switching What it means for you  – now is the time  CSS3 Web design for the 21 st Century.
Principles of Web Design 6 th Edition Chapter 4 – Cascading Style Sheets.
Review: Three parts to a webpage: - Content - Structure  XHTML - Presentation  CSS In this chapter we will focus on introducing and examining the mechanics.
Week 4.  Three ways to apply CSS: Inline CSS Internal style sheets ( header style information) External style sheets.
Cascading Style Sheets CSS.  Standard defined by the W3C  CSS1 (released 1996) 50 properties  CSS2 (released 1998) 150 properties (positioning)  CSS3.
1Computer Sciences Department. And use
By Tuyet Le & Madhura Pitale. Seating Chart with CSS3.
CSS – Presentation of Information. Types of Style Sheets External Embedded h1{color:red; font-family: Arial;} Inline Text is here.
WDV 101 Intro to Website Development
1 Cascading Style Sheets (CSS) Part 2. 2 The Sources of Style Sheets.
 HTML stands for Hyper Text Mark-up Language. The coding language used to create documents for the World Wide Web  HTML is composed of tags. HTML tags.
Today’s objectives  Review  CSS | Rules | Declarations  HTML Structure document  Class asignment.
Part 1: CSS - Why? - How it works - Writing rules - Examples.
CIS67 Foundations for Creating Web Pages Professor Al Fichera Rev. September 14, 2010—All HTML code brought to XHTML standards. Reference for CIS127 and.
Tutorial #4 Formatting Text and Links. Tutorial #3 Review - CSS CSS format Selector { property1: value1; /* Comments */ } Embedded, In-Line, and External.
Today’s objectives  Review  CSS | Rules | Declarations  HTML Structure document  Class asignment.
CO1552 – Web Application Development Cascading Style Sheets.
CSS CSS is short for C ascading S tyle S heets. It is a new web page layout method that has been added to HTML to give web developers more control over.
CHAPTER 3 CSS & CSS3 อ. ยืนยง กันทะเนตร คณะเทคโนโลยีสารสนเทศและการสื่อสาร มหาวิทยาลัยพะเยา 1.
Cascading Style Sheets Part 1. CSS vs HTML HTML: Originally intended to markup structure of a document (,...,,,,,...) CSS Developing technology, CSS1,
CSS Cascading Style Sheets. CSS Advantages Greater typography and page layout control Style is separate from structure Styles can be stored in a separate.
Slide 1 of 55 Positioning The CSS positioning properties allow you to position an element. It can also place an element behind another, and specify what.
Cascading Style Sheets (CSS) Within the Enterprise Architecture Framework (EAF) Wes Ziegeler August 3, 2006.
Lesson 03 // Cascading Style Sheets. CSS Stands for Cascading Style Sheets. We’ll be using a combination of Html and CSS to create websites. CSS is a.
Tutorial 5: Tables Session OBJECTIVES Marking row groups Marking column groups Setting the table frame Specifying the table’s internal gridlines.
Cascading Style Sheets Robin Burke ECT 270. Outline Midterm The Layout Debate CSS properties Fonts Alignment Color CSS selection selectors pseudo-classes.
CSS Class 2 -Add margins to elements on a page. -Set width and height of elements. - CSS shorthand properties for box model. -Style links. -Style tables.
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.
Cascading Style Sheets CSS.  Standard defined by the W3C  CSS1 (released 1996) 50 properties  CSS2 (released 1998) 150 properties (positioning)  CSS3.
Cascading Style Sheets (CSS). A style sheet is a document which describes the presentation semantics of a document written in a mark-up language such.
CSS – 1h. Without stylesheets proprietary HTML extensions making text into images proliferate use of "spacer" GIF images deprecated HTML elements and/or.
Web Design (12) CSS Introduction. Cascading Style Sheets - Defined CSS is the W3C standard for defining the presentation of documents written in HTML.
Lecture 2: Cascading Style Sheets (CSS) Instructor: Dr. M. Anwar Hossain.
Cascading Style Sheets Primary readings Presentations Explain & review projects with class mates.
Web Technologies Beginning Cascading Style Sheets (CSS) 1Copyright © Texas Education Agency, All rights reserved.
Style Sheets. Coding Style Sheets  Style sheets use RULES to create the style  A selector (a tag or user-defined style name)  and then declarations.
CSS: Cascading Style Sheets Part II. Style Syntax.
OV Copyright © 2008 Element K Content LLC. All rights reserved. Working with Web Pages  An Introduction to Cascading Style Sheets  Format a Web.
BEGINNER WEB DESIGN. INTRODUCTION Vocabulary Design Tools of the Trade HTML CSS.
Today’s objectives  Announcements  Positioning  Measurement units.
NASRULLAHIBA.  It is time to take your web designing skills to the next level with Cascading Style Sheets (CSS). They are a way to control the look and.
1 Copyright © 2013 Lee, Kim & Park, Life & Power Press 1 를 이용한 레이아웃.
Chapter 7.  Change body and link styles  Create a drop-down menu  Change color and font styles in the menu  Create a pop-up effect using CSS  Utilize.
CSS Introductions. Objectives To take control of the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of.
Cascading Style Sheets Robin Burke ECT 270. Outline CSS properties Fonts Alignment Color CSS selection selectors.
Creating Page Layouts with CSS
Cascading Style Sheets
Presentation transcript:

CSS3     None of the CSS3 modules are complete.  Developers already including elements of CSS3 even though it is not finished.  Your pages do not have to look the same in every browser.  BUT ensure that your websites work for all site’s visitors.

Child Selectors Source: McFarland, D.S. (2009), CSS: The missing manual, O’Reilly.

Child Selectors Beginning with second item select every 4 th items Source: McFarland, D.S. (2009), CSS: The missing manual, O’Reilly.

Child Selectors table tr:nth-child(odd) { background-color: #efefef; }

Multi-column layout -moz-column-width: 13em -webkit-column-width: 13em -moz-column-gap: 1em -webkit-column-gap: 1em; -moz = Firefox -webkit = Safari Number of columns will vary based on width of browser window.

Multi-column layout -moz-column-count: 3 -moz-column-gap: 1em -moz-column-rule: 1px solid black -webkit-column-count: 3 -webkit-column-gap: 1em -webkit-column-rule: 1px solid black; Number of columns will be 3, gap 1em, with black border

Opacity a img { opacity:.5; filter: alpha(opacity=50); } a:hover img { opacity: 1; filter: alpha(opacity=100); } Makes any element partially transparent All descendent tags inherit the property. Used here with the Hover pseudo-class IE Source: McFarland, D.S. (2009), CSS: The missing manual, O’Reilly.

RGBA.footer { background-color: rgba(70,80,212,.75); } Red, Green, Blue, Alpha Alpha

{ font-family: Lavoisier; src: url('lavoisier.otf'); } h1 { font-family: Lavoisier, Arial, Helvetica, sans-serif; color: #FF993E; font-size: 48px; } open type (.otf) or true type (.ttf) | IE embedded open type (.eot)

Pseudo-elements p:before { content: “HELLO World!"; } ul li:first-child:after { content: " | HELLO World!";} ul li:nth-child(odd):after { content: " | HELLO World!";}

Template layout module  Can use letters to define a page’s basic structure.  Divides the page into two rows:  top row aaa being one unit  bottom row bcd being three units or columns: body {display: “aaa” “bcd”;} #head {position: a } #nav {position: b } #adv {position: d } #body {position: c } Source: McFarland, D.S. (2009), CSS: The missing manual, O’Reilly.