Creating Visual Effects and Animation

Slides:



Advertisements
Similar presentations
Chapter 3 – Web Design Tables & Page Layout
Advertisements

Intro To Cascading Style Sheets By Mario Yannakakis.
Project 8 Creating Style Sheets.
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.
Sculpt Framework Mobile-First with Progressive Enhancement.
HTML 5 and CSS 3, Illustrated Complete Unit K: Incorporating Video and Audio.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
Chapter 8 Designing with Cascading Style Sheets. Chapter 8 Topics Building three different types of complete Web pages using CSS: Build a style sheet.
Working with Cascading Style Sheets. 2 Objectives Introducing Cascading Style Sheets Using Inline Styles Using Embedded Styles Using an External Style.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 12: Building Responsive Webpages.
TUTORIAL 8: Enhancing a Web Site with Advanced CSS
Creating Tables in a Web Site Using an External Style Sheet
Chapter 4 Dreamweaver: Part II The Web Warrior Guide to Web Design Technologies.
Working with Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of a document.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Nate Zaugg. Initially released in December 1996 Written to allow separation of document content from document layout Different styles can target different.
Session 1 SESSION 1 Working with Dreamweaver 8.0.
Tutorial 8 Enhancing a Web Site with Advanced CSS
© 2011 Delmar, Cengage Learning Chapter 8 Using Styles and Design Style Sheets for Design.
HTML, CSS, and XML Tutorial 8 Enhancing a Web Site with Advanced CSS.
Professor Waterman Cascading Style Sheets (CSS) is a language that works with HTML documents to define the way content is presented. The presentation.
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 7: CSS Building Blocks.
CNIT 132 – Week 4 Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of.
INTRODUCTION TO HTML5 New HTML5 User Interface and Attributes.
Positioning Objects with CSS and Tables
HTML5 and CSS3 Illustrated Unit C: Getting Started with CSS.
Microsoft Expression Web - Illustrated Unit A: Getting Started With Microsoft Expression Web.
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML.
Getting Started with HTML
Laying out Elements with CSS
Working with Cascading Style Sheets
CSS Cascading Style Sheets
Creating Visual Effects
JavaScript, Sixth Edition
Creating a Flash Web Site
Implementing Responsive Design UNIT I.
Project 1 Introduction to HTML.
Getting Started with CSS
Programming Web Pages with JavaScript
HTML5 and CSS3 Illustrated Unit D: Formatting Text with CSS
Formatting Text with CSS
Implementing Responsive Design
Organizing Content with Lists and Tables
CSS3 Style of the HTML document CSS2+New Specifications Differences
Chapter 5 Introduction to Cascading Style Sheets (CSS): Part 2
Inserting and Working with Images
Styles with Cascading Style Sheets (CSS)
Positioning Objects with CSS and Tables
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
ASP.NET Web Controls.
Advanced Web pages and Cascading Style Sheets (CSS)
Web Systems & Technologies
Building beautiful and interactive apps with HTML5 & CSS3
Introduction to web design discussing which languages is used for website designing
Responsive Design.
Cascading Style Sheets - Building a stylesheet
Inserting and Working with Links
What are Cascading Stylesheets (CSS)?
Web Development & Design Foundations with H T M L 5
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Cascading Style Sheets - Building a stylesheet
Lesson 3: Cascading Style Sheets (CSS) and Graphical Elements
Eclectic Animations.
5.00 Apply procedures to organize content by using Dreamweaver. (22%)
Positioning Objects with CSS and Tables
Web Programming and Design
Progressive Enhancement Using CSS 3
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
Presentation transcript:

Creating Visual Effects and Animation

Objectives Assess responsive design Construct a multipart media query Test layouts with an emulator Add a column with a media query Create a widescreen layout Create responsive navigation HTML5 and CSS3 – Illustrated, 2nd Edition

Objectives (continued) Implement adaptive content Use progressive enhancement HTML5 and CSS3 – Illustrated, 2nd Edition

Add Generated Content :before and :after pseudo-elements: enable you to insert content into web page using style rules Result known as generated content Can be used for text, pictures, or other content Must specify value for the content property Can be text or path to an image HTML5 and CSS3 – Illustrated, 2nd Edition

Add Generated Content (continued) :before pseudo-element code and result HTML5 and CSS3 – Illustrated, 2nd Edition

Add Visual Form Feedback CSS supports pseudo-classes specifically for use with forms: HTML5 and CSS3 – Illustrated, 2nd Edition

Add Visual Form Feedback (continued) Code and result using :valid pseudo-class: HTML5 and CSS3 – Illustrated, 2nd Edition

Add Visual Form Feedback (continued) Code and result using :focus pseudo-class: HTML5 and CSS3 – Illustrated, 2nd Edition

Create a Gradient gradient: a visual effect in which an area starts as a single color on one edge/corner and transitions to one or more other colors Modern browsers support gradients as backgrounds Use the linear-gradient keyword with values describing the gradient HTML5 and CSS3 – Illustrated, 2nd Edition

Create a Gradient (continued) Examples of linear gradients: HTML5 and CSS3 – Illustrated, 2nd Edition

Create a Gradient (continued) Gradient applied to page background: HTML5 and CSS3 – Illustrated, 2nd Edition

Create a CSS Shape Can use CSS properties to change shapes of HTML elements Enhance visual design Replace shapes that would otherwise require an image file, reducing page size HTML5 and CSS3 – Illustrated, 2nd Edition

Create a CSS Shape (continued) CSS circle code and result: HTML5 and CSS3 – Illustrated, 2nd Edition

Apply Styles Based on Feature Detection Newer styles not recognized by older browsers (like IE8) Graceful degradation: when a site uses newer styles in modern browsers while displaying useable layout and all page content in older browsers Modernizr is a free script library that helps with this process Feature detection: process of detecting which properties a browser supports HTML5 and CSS3 – Illustrated, 2nd Edition

Apply Styles Based on Feature Detection (continued) Feature detection code and results: HTML5 and CSS3 – Illustrated, 2nd Edition

Apply a Transform transform: a change in the appearance of an element in one or more specific ways: rotating, scaling, skewing, and moving (translating) HTML5 and CSS3 – Illustrated, 2nd Edition

Apply a Transform (continued) Implemented in modern browsers with browser prefixes Words or abbreviations added to start of property name and specific one or more browsers or rendering engines Create declaration using unprefixed form, then precede with declarations using all browser prefixes HTML5 and CSS3 – Illustrated, 2nd Edition

Apply a Transform (continued) Transform code and result: HTML5 and CSS3 – Illustrated, 2nd Edition

Create a Transition transitions: CSS features that gradually apply changes to properties in response to user actions Supported by modern browsers Create simple animations Example: create transform to rotate an element, then use transition to spin element into position over several seconds HTML5 and CSS3 – Illustrated, 2nd Edition

Create a Transition (continued) Aspects of transitions that are configurable: HTML5 and CSS3 – Illustrated, 2nd Edition

Create a Transition (continued) Transition code and result: HTML5 and CSS3 – Illustrated, 2nd Edition

Animate Content keyframe animation: an animation created using animation properties and the @keyframes rule Supported by modern browsers Enable you to control what animation looks like at various points between start and end @keyframes rule: name for rule, followed by nested rules in braces, with percentage selectors HTML5 and CSS3 – Illustrated, 2nd Edition

Animate Content (continued) Animation-related CSS properties: HTML5 and CSS3 – Illustrated, 2nd Edition

Animate Content (continued) Components of keyframe animation: HTML5 and CSS3 – Illustrated, 2nd Edition

Summary The :before and :after pseudo-elements enable you to insert content -- known as generated content -- into web pages using style rules. CSS supports several pseudo-classes specifically for use with forms, which you can use to change properties in forms in response to user actions. HTML5 and CSS3 – Illustrated, 2nd Edition

Summary (continued) A gradient is a visual effect in which an area starts as a single color on one edge or corner and transitions gradually to one or more other colors. You can use CSS properties to change the shapes of HTML elements to enhance your visual design. HTML5 and CSS3 – Illustrated, 2nd Edition

Summary (continued) You can use Modernizr to implement graceful degradation, which describes a layout that uses newer styles in modern browsers while displaying a usable layout and all page content in older browsers. A transform is a change in the appearance of an element in one or more specific ways (rotating, scaling, skewing, or moving). HTML5 and CSS3 – Illustrated, 2nd Edition

Summary (continued) Transitions are CSS features that gradually apply changes to properties in response to user actions over a number of seconds. A keyframe animation uses animation properties and the @keyframes rule and enables you to control what the animation looks like at various points between the start and end. HTML5 and CSS3 – Illustrated, 2nd Edition