Progressive Enhancement Using CSS 3

Slides:



Advertisements
Similar presentations
Cascading Style Sheets
Advertisements

New Semantic Elements (Part 2)
Diliev.com & pLOVEdiv.com  DIliev.com.
Responsive Web Design Design websites so that they can adapt to different devices seamlessly. Image by Muhammed RafizeldiMuhammed Rafizeldi.
TUTORIAL 8: Enhancing a Web Site with Advanced CSS
IMAGES Controlling size of images in CSS Aligning images in CSS Adding background images.
Web Design Transparent Backgrounds. Why : Allow text to appear clearly above a graphic background image that still can be seen in the background. Without.
Relatore: Ing. Marco Porta Correlatore: Ing. Massimo Cellario Tesi di Laurea di: Andrea Marchetti Anno Accademico 2010/2011 UNIVERSITA’ DEGLI STUDI DI.
Week 6.  Browser DOCTYPE switching What it means for you  – now is the time  CSS3 Web design for the 21 st Century.
Creating A Simple Web Page. Step 1- Open Dreamweaver & Create A New Page (File New) and blank.
Eat Your Words! Creating webpage Layout. CONTENT The Layout of a Webpage HEADER FOOTER Each of these sections represents a ‘div’ (or divider). By linking.
Using Styles and Style Sheets for Design
INTRODUCTION TO HTML5 Styling with CSS3. Round Border Corners  You can modify any element that supports the border property and render rounded borders.
Intro to Dreamweaver Web Design Section 7-1 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course.
Ins & Outs of. CSS3 is Modular Can we use it now?
Log In to your User Start: Photoshop Elements. Start a new document 700x120 pixels with white background. Create a new layer by clicking Layer -> New.
WEB ACCESSIBILITY. WHAT IS IT? Web accessibility means that people with disabilities can use the Web. Web accessibility encompasses all disabilities that.
Group 9: Through examples, explain how to build a css navigation bar. Presented by: Daniel Ku, Matt Iannacci & Iphia Henry.
Microsoft Expression Web - Illustrated Unit A: Getting Started With Microsoft Expression Web.
Basic in Photoshop Tools in Photoshop Simple templates design menu in Photoshop different navigation bar image effects Design your portfolio page Design.
Unit 15 – Web Authoring Web Authoring Project.
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
Getting Started with HTML
Creating Visual Effects
Development of Internet Applications WebDesign
Unit & District Tools Phase 1
Implementing Responsive Design UNIT I.
Formatting Text with CSS
4.01 Cascading Style Sheets
Google fonts CSS box model
Lab Styling Tabs with CSS Scott Lydiard
Do you want to make info graphics for the US Election?
CSS3 Style of the HTML document CSS2+New Specifications Differences
Intro to Dreamweaver Web Design Section 8-1
Tutorial 4 Topic: CSS 3.0 Li Xu
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
© 2016, Mike Murach & Associates, Inc.
Advanced CSS BIS1523 – Lecture 20.
Introduction to Web programming
Creating Visual Effects and Animation
Box model.
Web Systems & Technologies
HTML5 Application Development Fundamentals
Building beautiful and interactive apps with HTML5 & CSS3
IS333: MULTI-TIER APPLICATION DEVELOPMENT
Chapter 6 More CSS Basics Key Concepts
Basics of Web Design Chapter 6 More CSS Basics Key Concepts
Fixed Positioning.
The Canvas.
CSS Box Model.
Basics of Web Design Chapter 6 More CSS Basics Key Concepts
Browser Support for HTML5
Robert Kiffe Senior Customer Support Engineer
Web Accessibility Clinic – Common Issues
Starting to develop a website
Basics of Web Design Chapter 6 More CSS Basics Key Concepts
SEEM4570 Tutorial 3: CSS + CSS3.0
Intro to Web Development
Training & Development
ITI 239 HTML5 Desktop and Mobile Level I
Start: Photoshop Elements
Box Model.
New Semantic Elements (Part 2)
CS3220 Web and Internet Programming Introduction to Bootstrap
CSS and Class Tools.
4.01 Cascading Style Sheets
Session IV Chapter 15 - How Work with Fonts and Printing
Presentation transcript:

Progressive Enhancement Using CSS 3 By Dr Derek Peacock

New Features Borders – rounded corners Backgrounds – multiple images Colour – Opacity and gradients Text – Shadows & Web Fonts Box – Shadows Transformations & Transitions Media Queries – size and aspect ratios The above list are the main features that can be used to enhance the appearance of a web page, yet if the browser does not support the feature it will still display a usable web page. The enhancements just make the page appear more 3 dimensional. Transformations and Transitions can be used to provide simple animations with the minimal of code. This greatly reduces the need to add flash effects. Media Queries goes hand in hand with responsive desing to provide web pages that make the best use of mobile phone, tablet and desktop screens.

HTML5 Browser Compatibility Not all browsers provide full support for HTML5 and CC3, Chrome scores highest. Html5Test.com can check how compatible a browser is. http://html5test.com/

HTML5 Forms Support This page also lists the features that are supported in detail. These are just some of them.

CSS3 Browser Compatibility http://caniuse.com/ To check for CSS3 support canIuse.com lists all the browser features supported by your chosen browser.

CSS3 Feature Support border-radius If one feature is selected then the web site lists all the browsers that support it.

Forms Example 2 This is another example of a way of structuring a form using in this case an un-ordered list to separate the fields in a fieldset. This however causes a validation breach as there is no legend. All fieldsets should have a legend. In this case a heading has been used instead.

Forms Styling 2 The difference in styling is the styling fieldset ul, and fieldset ul li. And the introduction of border radius which needs setting in the form and the fieldset as they define overlapping areas.

Rounded Corners border-radius: 0px 0px 20px 20px; border-radius: 20px; At the moment the effect is subtle, but will be enhanced later by adding box shadow.

Box Shadow Visual Studio validates CCS3 and HTML5 and will prompt you if vendor specific styles need adding for browser compatibility. The resulting affect is to add a 3D appearance which will not be present if the browser does not support these CCS3 styles.

Gradient Fills

Gradient Generators http://www.colorzilla.com/gradient-editor/

Using Gradient Fills

Gradient Fills – Another Example Gradient fills can typically be used in the header region, and rounded corners can be used to create menu entries that look like tabs.

Text Shadow header h1 { text-shadow: 2px 2px rgba(0, 0, 0, 0.5); } Text Shadows can be used to give text a 3D like appearance, to make the shadow more subtle a transparent black is used so that background images or colours can show through.

Internet Explorer 8 The same web site in IE8 looks very plain in comparison, but is still fully functional and can be used.