CSS3, Media Queries, & Responsive Design. May 23, 2012 STC Summit Zoe Mickley
|
|
- Amber Wheeler
- 6 years ago
- Views:
Transcription
1 CSS3, Media Queries, & Responsive Design May 23, 2012 STC Summit Zoe Mickley
2 What I do Books Stunning CSS3: A Project-based Guide to the Latest in CSS Flexible Web Design: Creating Liquid and Elastic Layouts with CSS Web Accessibility specialist at AT&T Visual designer CSS developer and consultant 2
3 My home's web-enabled devices
4 more mobile devices & more diversity within devices EVERY DAY 4
5 every day 1.45 MILLION DEVICES & 317,124 BABIES enter the world Source: 5
6 Growing screen resolution diversity on desktop May 2009 widths May 2012 widths other other Source: 6
7 25% of U.S. smartphone users do MOST OR ALL of their web browsing on mobile Source: 7
8 how can our sites accommodate all this DIVERSITY? 8
9 Introducing media queries Awesome new part of CSS3 Simple way to feed different CSS based on characteristics of user's device Used to build responsive/adaptive designs Not: for feeding styles based on browser just for feeding styles based on viewport size 9
10 Media query syntax: internal body { background: gray; screen and (max-width:500px) { body { background: blue; } } English translation: Make the background gray. But up to a maximum width of 500 pixels, make the background blue. 10
11 Flip flop it body { background: blue; screen and (min-width:501px) { body { background: gray; } } English translation: Make the background blue. But at and past the minimum width of 501 pixels, make the background gray. 11
12 How it looks 12
13 Media query syntax: external Extend the existing media part of the link element rule: <link href="narrow.css" rel="stylesheet" media="only screen and url(narrow.css) only screen and (max-width:500px); 13
14 Recommendation: internal Main advantages: No extra HTTP request(s) Not out of sight and forgotten Learn full pros/cons: essential-considerations-crafting-qualitymedia-queries 14
15 you now know media query syntax YAY! 15
16 but media queries don't actually DO anything 16
17 it's the CSS INSIDE that changes the appearance 17
18 Width-dependent layout changes Responsive web design: Media queries + fluid layouts + fluid media See Adaptive layouts: Media queries + fixed-width layouts See adaptive-layouts-media-queries 18
19 Retrofitting responsiveness Typical to add on media queries for both smaller and wider styles CSS before media queries is default Can take different approach when starting from scratch Start with "mobile," layer on wider styles? Start with "desktop," layer on narrower styles? Start with something in between for majority? 19
20 Starting with desktop styles Pros: No extra work to make majority width appear correctly on IE 6-8 Easiest way to retrofit existing site Cons: Mobile devices may have to download unneeded desktop assets Need separate style sheets or JavaScript to make mobile design appear in IE Mobile 7 and other older mobile browsers 20
21 Starting with mobile styles Pros: Mobile devices won't download unneeded desktop assets Older, non-mediaquery-supporting mobile browsers still get the mobile styles without any extra work Cons: Desktop devices may have to download unneeded mobile assets Need separate style sheets or JavaScript to make majority desktop design appear in IE
22 Our starting point 22
23 Very wide: awkward 23
24 Very narrow: awkward 24
25 Wide-screen media query /*all the other styles up screen and (min-width: 1200px) { /*styles for larger screens in here*/ } 25
26 Add third screen and (min-width: 1200px) { #nav-main { position: fixed; top: 136px; width: 13%; margin: 0; } #content-main { width: 58%; margin-left: 18%; } #content-secondary { width: 20%; } } 26
27 Style nav as vertical screen and (min-width: 1200px) {... #nav-main li { float: none; margin: 0; } #nav-main a { -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0; } } 27
28 Wide-screen design 28
29 Small-screen media query /*all the other styles up screen and (max-width: 760px) { /*styles for smaller screens in here*/ } 29
30 Remove columns from screen and (max-width: 760px) { h1 + p { -moz-column-count: 1; -o-column-count: 1; -webkit-column-count: 1; column-count: 1; } } 30
31 Stack feature screen and (max-width: 760px) {....feature { float: none; width: auto; margin: em 0; padding: px; background-position: top left; } } 31
32 Narrowscreen design 32
33 pause for CAVEATS & CLARIFICATIONS 33
34 Some sites would be better served with a separate site for mobile devices instead of using media queries. 34
35 Even if a separate mobile site would be best, using media queries is a good first step if a separate site isn't currently feasible. 35
36 The choice is not between using media queries and creating a dedicated mobile site; the choice is between using media queries and doing nothing at all. Jeremy Keith 36
37 You can add media queries to a dedicated mobile site in order to cater to the wide range of mobile viewport sizes. 37
38 If you do use media queries on a single site, they're not the only tool you can use you can add scripting as well to further customize the content, markup, functionality, etc. 38
39 Media queries are only meant to solve the problem of mobile's small viewports, not all the other things that can make mobile browsing different (such as context, bandwidth, etc.). 39
40 It's making sure your layout doesn't look crap on diff. sized screens. Mark Boulton 40
41 back to CSS 41
42 Mobile media query /*all the other styles up screen and (max-width: 550px) { /*styles for tiny screens in here*/ } 42
43 Non-overlapping screen and (min-width: 551px) and (max-width: 760px) { /*styles for small screens in here*/ screen and (max-width: 550px) { /*styles for tiny screens in here*/ } 43
44 Media features for mobile min-width max-width device-width min-device-width max-device-width orientation min-device-pixel-ratio -webkit-min-device-pixel-ratio min--moz-device-pixel-ratio -o-min-device-pixel-ratio 44
45 Useful media features for mobile min-width max-width device-width min-device-width max-device-width orientation min-device-pixel-ratio -webkit-min-device-pixel-ratio min--moz-device-pixel-ratio -o-min-device-pixel-ratio 45
46 Changing to single screen and (max-width: 550px) { #content-main, #content-secondary, #about, #credits { float: none; width: 100%; } } 46
47 Changing feature screen and (max-width: 550px) {....feature { padding-left: 70px; } #feature-candy { background-image: url(icon_candy_64.png); } #feature-pastry { background-image: url(icon_pastry_64.png); } #feature-dessert { background-image: url(icon_dessert_64.png); } } 47
48 Mobile design 48
49 Viewport meta tag Forces mobile devices to scale viewport to actual device width <meta name="viewport" content="width=device-width"> 49
50 Zoom problem in ios Remember: device-width on ios devices always matches portrait width This means design doesn't reflow when you switch to landscape, but instead just zooms 50
51 Fixing (and adding) zoom issues Option 1: add maximum-scale=1 But disables user scaling <meta name="viewport" content="width=device-width, maximum-scale=1"> Option 2: add initial-scale=1 Allows user scaling But triggers over-zoom/crop bug when changing from portrait to landscape <meta name="viewport" content="width=device-width, initial-scale=1"> 51
52 The best way to fix zoom issues Option 3: add initial-scale=1 plus script to fix over-zoom bug See the_ios_orientationchange_zoom_bug/ <head>... <meta name="viewport" content="width=device-width, initial-scale=1"> <script src="ios-orientationchange-fix.js">... </head> 52
53 View it live 53
54 More responsive examples Design patterns: "Multi-Device Layout Patterns" by Luke Wroblewski: "Responsive Navigation Patterns" by Brad Frost: responsive-nav-patterns/ Inspiration: Gallery: My own bookmarks: loves/zomigi/tag/mediaqueries 54
55 Dealing with IE 8 and earlier Conditional comments JavaScript 55
56 Conditional comments Split styles into separate sheets and feed applicable sheet to IE based on whether it's IE on desktop or mobile Approach varies based on which set of styles are your default 56
57 Conditional comment when desktop styles are default Feed IE Mobile 7 media query sheet: <link rel="stylesheet" href="global.css" media="all"> <link rel="stylesheet" href="mobile.css" media="all and (max-width: 700px)"> <!--[if IEMobile 7]> <link rel="stylesheet" href="mobile.css" media="all"> <![endif]--> Source: 57
58 Conditional comment when mobile styles are default Feed older IE media query sheet, hide from IE Mobile 7: <link rel="stylesheet" href="global.css" media="all"> <link rel="stylesheet" href="desktop.css" media="all and (min-width: 700px)"> <!--[if (lt IE 9)&(!IEMobile 7)]> <link rel="stylesheet" href="desktop.css" media="all"> <![endif]--> Source: 58
59 Pre-fab JavaScript for nonsupporting browsers Simply add one of these scripts: Respond: css3-mediaqueries.js: Avoid extra HTTP request for non-old-ie browsers using conditional comments: <!--[if (lt IE 9)&(!IEMobile 7)]> <script src="respond.min.js"></script> <![endif]--> 59
60 WHAT ELSE can media queries do? 60
61 Swapping images on high-res screen and (moz--min-device-pixel-ratio : 1.5), screen and (-o-min-device-pixel-ratio : 3/2), screen and (-webkit-min-device-pixel-ratio : 1.5), screen and (min-device-pixel-ratio : 1.5) { } 61
62 Swapping images on high-res screen and (min-device-pixel-ratio : 1.5) {.feature { -moz-background-size: 64px 64px; -webkit-background-size: 64px 64px; background-size: 64px 64px; } #feature-candy { background-image: url(icon_candy_128.png); } #feature-pastry { background-image: url(icon_pastry_128.png); } #feature-dessert { background-image: url(icon_dessert_128.png); } } 62
63 Learn more Download slides and get links at Zoe Mickley zomigi.com stunningcss3.com flexiblewebbook.com 63
CSS3: Using media queries to improve the web site experience. November 19, 2011 indieconf Zoe Mickley
CSS3: Using media queries to improve the web site experience November 19, 2011 indieconf Zoe Mickley Gillenwater @zomigi What I do Books Web Stunning CSS3: A Project-based Guide to the Latest in CSS Accessibility
More informationBuilding Responsive Layouts
Building Responsive Layouts by Zoe Mickley Gillenwater @zomigi zomigi.com December 5, 2012 CSS Dev Conf hello nice to meet you 2 I don t use a mobile phone I have a process for eating these why responsive
More informationDesigning with CSS3 Effectively & Efficiently. October 2010 Adobe MAX Zoe Mickley
Designing with CSS3 Effectively & Efficiently October 2010 Adobe MAX Zoe Mickley Gillenwater @zomigi 1 What I do out now out Dec 10 Books Web Flexible Web Design: Creating Liquid and Elastic Layouts with
More informationCS7026 Media Queries. Different Screen Size Different Design
CS7026 Media Queries Different Screen Size Different Design Introduction Users no longer view web content only on traditional desktop systems, but are increasingly using smartphones, tablets, and other
More informationChapter 7 BMIS335 Web Design & Development
Chapter 7 BMIS335 Web Design & Development Site Organization Use relative links to navigate between folders within your own site o Sometimes dividing your site into folders makes maintenance and updating
More informationWEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5
WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 7 Key Concepts 1 In this chapter, you will learn how to... LEARNING OUTCOMES Code relative hyperlinks to web pages in folders within a website Configure
More informationCS7026 Media Queries II. Different Screen Size Different Design
CS7026 Media Queries II Different Screen Size Different Design What You ll Learn We ll be restyling an entire page layout to work with different screen sizes and devices using Media queries to apply styles
More informationResponsive web design (RWD) CSS3 Media queries. Mobile vs desktop web sites. Web Development 1 CS1115/CS5002
1 of 13 CS1115/CS5002 Web Development 1 Dr Derek Bridge School of Computer Science & Information Technology University College Cork Mobile vs desktop web sites A few organization have two web sites, one
More informationIntroduction to Computer Science Web Development
Introduction to Computer Science Web Development Flavio Esposito http://cs.slu.edu/~esposito/teaching/1080/ Lecture 14 Lecture outline Discuss HW Intro to Responsive Design Media Queries Responsive Layout
More informationResponsive Design. Responsive design is it important? But typical is not enough. Some typical screen sizes
Responsive Design Responsive design is it important? For many years, screen sizes were growing Eventually, settled on fixed-width (e.g. 960px) But now with smart phones, tablets, television and many new
More informationAGENDA. :: Add Meta Tag for Viewport (inside of head element): :: Add Script that renders HTML5 elements for older versions of Internet Explorer
CLASS :: 14 12.10 2018 3 Hours AGENDA LECTURE :: Responsive Web Design [RWD] DOWNLOAD ASSETS [ CSS ] :: Media Query [rwd.css] ADD HTML META TAG & IE SCRIPT [ HTML ] :: Add Meta Tag for Viewport (inside
More informationPUTTING FLEXBOX INTO PRACTICE. Blend Conference September Zoe Mickley
PUTTING FLEXBOX INTO PRACTICE Blend Conference September 2013 Zoe Mickley Gillenwater @zomigi I m a web designer/front-end dev and I wrote these books on CSS: Stunning CSS3: A Project-based Guide to the
More informationViewports. Peter-Paul Koch CSS Day, 4 June 2014
Viewports Peter-Paul Koch http://quirksmode.org http://twitter.com/ppk CSS Day, 4 June 2014 or: Why responsive design works Peter-Paul Koch http://quirksmode.org http://twitter.com/ppk CSS Day, 4 June
More informationHTML Organizing Page Content
HTML Organizing Page Content CSS for layout Examples http://www.shinybytes.com/newcss.html Generic Elements Used to create a logical grouping of content or elements on the page Can be customized to describe
More informationCSS: Responsive Design, CSS3 and Fallbacks
CSS: Responsive Design, CSS3 and Fallbacks CISC 282 October 4, 2017 What is a Mobile Browser? Browser designed for a not-desktop display Phones/PDAs, tablets, anything handheld Challenges and constraints
More information8/19/2018. Web Development & Design Foundations with HTML5. Learning Objectives (1 of 2) More on Relative Linking. Learning Objectives (2 of 2)
Web Development & Design Foundations with HTML5 Ninth Edition Chapter 7 More on Links, Layout, and Mobile Slides in this presentation contain hyperlinks. JAWS users should be able to get a list of links
More informationEnhancing Responsiveness. Flexbox WITH. SmashingConf March Zoe Mickley
Enhancing Responsiveness Flexbox WITH SmashingConf March 2015 Zoe Mickley Gillenwater @zomigi 2 I used to make fixed-width sites 3 with tables 4 Then I got into CSS liquid layout I even wrote a book about
More informationAGENDA :: MULTIMEDIA TOOLS :: CLASS NOTES. INSTALLING FONTS :: Download, Install, & Embed Your Fonts. LECTURE :: Responsive Web Design [RWD]
CLASS :: 14 05.05 2017 3 Hours AGENDA INSTALLING FONTS :: Download, Install, & Embed Your Fonts LECTURE :: Responsive Web Design [RWD] DOWNLOAD ASSETS [ CSS ] :: Media Query [rwd.css] ADD HTML META TAG
More informationHTML Organizing Page Content
HTML Organizing Page Content HTML 5 Elements Well supported by current desktop and mobile browsers (known issues with IE 8 and earlier) May be used to divide pages into major sections
More informationAGENDA. EMBEDDING FONTS [ Font Files & CSS font-family ] :: Online Font Converter :: ADD font-family css code to style.css
CLASS :: 12 05.04 2018 3 Hours AGENDA CREATE A WORKS PAGE [ HTML ] :: Open index.html :: Save As works.html :: Edit works.html to modify header, 3 divisions for works, then add your content :: Edit index.html
More informationAdaptations by PVII responsive and then creates your page instantly Al Sparber & Gerry Jacobsen PVII
Adaptations by PVII is a Dreamweaver extension that allows you to select from 5 unique responsive layouts and then creates your page instantly. We hope you enjoy using this product as much as we did making
More informationCreate a three column layout using CSS, divs and floating
GRC 275 A6 Create a three column layout using CSS, divs and floating Tasks: 1. Create a 3 column style layout 2. Must be encoded using HTML5 and use the HTML5 semantic tags 3. Must se an internal CSS 4.
More informationResponsive Web Design and Bootstrap MIS Konstantin Bauman. Department of MIS Fox School of Business Temple University
Responsive Web Design and Bootstrap MIS 2402 Konstantin Bauman Department of MIS Fox School of Business Temple University Exam 3 (FINAL) Date: 12/06/18 four weeks from now! JavaScript, jquery, Bootstrap,
More informationResponsive Design. Responsive Design Approach. Technique for building webpages
Responsive Design Responsive Design Technique for building webpages Allows you to present the same content in different ways to different devices Create conditions for applying specific CSS styles Ex:
More informationTODAY S AGENDA. An introduction for Libraries UW-SLIS CES Webinar April 6, 2015 What is Responsive Web Design? Definition & History
TODAY S AGENDA An introduction for Libraries UW-SLIS CES Webinar April 6, 2015 What is Responsive Web Design? Definition & History How do I DO Responsive Web Design? Tips & Tricks & Jargon Where do I go
More informationResponsive Web Design. From: Ethan Marcotte - Responsive Web Design 2011
Responsive Web Design From: Ethan Marcotte - Responsive Web Design 2011 Motivation Browser windows have their inconsistencies and imperfections Once web pages are published online, the designs are immediately
More informationWeb Site Design and Development Lecture 13
Web Site Design and Development Lecture 13 CS 0134 Fall 2018 Tues and Thurs 1:00 2:15PM Normalize.css Normalize.css is a useful project to incorporate into your web pages In their own words, Normalize.css
More informationHere are some links to get you started in learning more about CSS3 media queries and responsive web design:
of 8 The HTML5 CSS Starter Page Series - Part 13: CSS3 Media Queries and the Mobile Web By: Sheri German In the last installment of the HTML5 CSS Starter Page series, we completed the Stringendo Studios
More informationResponsive Design for Web Applications R.I.T. S. Ludi/R. Kuehl p. 1 R I T. Software Engineering
Responsive Design for Web Applications S. Ludi/R. Kuehl p. 1 What is the Problem? S. Ludi/R. Kuehl p. 2 Credit: Matt Griffin What is the Problem? Mobile web access is ubiquitous One interface design does
More informationCSS: Layout Part 2. clear. CSS for layout and formatting: clear
CSS: Layout Part 2 Robert A. Fulkerson College of Information Science and Technology http://www.ist.unomaha.edu/ University of Nebraska at Omaha http://www.unomaha.edu/ CSS for layout and formatting: clear
More informationNAVIGATION INSTRUCTIONS
CLASS :: 13 12.01 2014 NAVIGATION INSTRUCTIONS SIMPLE CSS MENU W/ HOVER EFFECTS :: The Nav Element :: Styling the Nav :: UL, LI, and Anchor Elements :: Styling the UL and LI Elements CSS DROP-DOWN MENU
More informationA pixel is not a pixel. Peter-Paul Koch BlackBerry Jam, 6 February 2012
A pixel is not a pixel Peter-Paul Koch http://quirksmode.org http://twitter.com/ppk BlackBerry Jam, 6 February 2012 I. Pixels Pixels according to W3C The reference pixel is the visual angle of one pixel
More informationCascading Style Sheets for layout II CS7026
Cascading Style Sheets for layout II CS7026 Understanding CSS float The CSS float property is also a very important property for layout. It allows you to position your Web page designs exactly as you want
More informationHow to deploy for multiple screens
How to deploy for multiple screens Ethan Marcotte, a developer in Boston, coined the phrase responsive design to describe a website that adapts to the size of the viewer s screen. A demonstration site
More informationA pixel is not a pixel. Peter-Paul Koch SF HTML5, 6 April 2012
A pixel is not a pixel Peter-Paul Koch http://quirksmode.org http://twitter.com/ppk SF HTML5, 6 April 2012 Example site http://mobilism.nl/2012/ A proper responsive site that you can use on any device
More informationBuilding Page Layouts
Building Page Layouts HTML & CSS From Scratch Slides 3.1 Topics Display Box Model Box Aesthetics Float Positioning Element Display working example at: h9ps://;nker.io/3a2bf Source: unknown. Please contact
More informationGIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar
GIMP WEB 2.0 MENUS Web 2.0 Menus: Horizontal Navigation Bar WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR Hover effect: You may create your button in GIMP. Mine is 122 pixels by 48 pixels. You can use whatever
More informationCSS. https://developer.mozilla.org/en-us/docs/web/css
CSS https://developer.mozilla.org/en-us/docs/web/css http://www.w3schools.com/css/default.asp Cascading Style Sheets Specifying visual style and layout for an HTML document HTML elements inherit CSS properties
More informationAssignments (4) Assessment as per Schedule (2)
Specification (6) Readability (4) Assignments (4) Assessment as per Schedule (2) Oral (4) Total (20) Sign of Faculty Assignment No. 02 Date of Performance:. Title: To apply various CSS properties like
More informationTable Basics. The structure of an table
TABLE -FRAMESET Table Basics A table is a grid of rows and columns that intersect to form cells. Two different types of cells exist: Table cell that contains data, is created with the A cell that
More informationViewports. Peter-Paul Koch DevReach, 13 November 2017
Viewports Peter-Paul Koch http://quirksmode.org http://twitter.com/ppk DevReach, 13 November 2017 or: Why responsive design works Peter-Paul Koch http://quirksmode.org http://twitter.com/ppk DevReach,
More informationMedia Types & Media Features
Media Types & Media Features Same HTML, Different CSS R. Scott Granneman r Jans Carton 1.6 2008 R. Scott Granneman Last updated 2018-08-21 You are free to use this work, with certain restrictions. For
More informationMedia-Specific Styles
Media-Specific Styles Same HTML, Different CSS R. Scott Granneman r Jans Carton 1.5 2008 R. Scott Granneman Last updated 2017-06-13 You are free to use this work, with certain restrictions. For full licensing
More informationHTML and CSS a further introduction
HTML and CSS a further introduction By now you should be familiar with HTML and CSS and what they are, HTML dictates the structure of a page, CSS dictates how it looks. This tutorial will teach you a few
More informationStyles, Style Sheets, the Box Model and Liquid Layout
Styles, Style Sheets, the Box Model and Liquid Layout This session will guide you through examples of how styles and Cascading Style Sheets (CSS) may be used in your Web pages to simplify maintenance of
More informationIBM Forms V8.0 Custom Themes IBM Corporation
IBM Forms V8.0 Custom Themes Agenda 2 Overview Class Names How to Use Best Practice Styling Form Items Test Custom CSS Sample Overview 3 To create custom theme you must be familiar with the basic concept
More informationA pixel is not a pixel. Peter-Paul Koch MoBeers, 10 April 2012
A pixel is not a pixel Peter-Paul Koch http://quirksmode.org http://twitter.com/ppk MoBeers, 10 April 2012 Example site http://mobilism.nl/2012/ A proper responsive site that you can use on any device
More informationCS7026 CSS3. CSS3 Graphics Effects
CS7026 CSS3 CSS3 Graphics Effects What You ll Learn We ll create the appearance of speech bubbles without using any images, just these pieces of pure CSS: The word-wrap property to contain overflowing
More informationHTML5 and CSS3 for Web Designers & Developers
HTML5 and CSS3 for Web Designers & Developers Course ISI-1372B - Five Days - Instructor-led - Hands on Introduction This 5 day instructor-led course is a full web development course that integrates HTML5
More informationThere are 3 places you can write CSS.
EXTRA CSS3. #4 Where to write CSS. There are 3 places you can write CSS. The best option is to write CSS is in a separate.css file. You then link that file to your HTML file in the head of your document:
More informationFrontend guide. Everything you need to know about HTML, CSS, JavaScript and DOM. Dejan V Čančarević
Frontend guide Everything you need to know about HTML, CSS, JavaScript and DOM Dejan V Čančarević Today frontend is treated as a separate part of Web development and therefore frontend developer jobs are
More informationHTML5 and CSS3: New Markup & Styles for the Emerging Web. Jason Clark Head of Digital Access & Web Services Montana State University Library
HTML5 and CSS3: New Markup & Styles for the Emerging Web Jason Clark Head of Digital Access & Web Services Montana State University Library Overview Revolution or Evolution? New Features and Functions
More informationCIT BY: HEIDI SPACKMAN
CIT230-06 BY: HEIDI SPACKMAN WHAT IS A MEDIA QUERY? A Media Query (Boolean code) written in CSS3 determines the screen display size that needs to be used and adjusts the HTML pages to display correctly
More informationHTML5 and Mobile: New Markup & Styles for the Mobile Web. Jason Clark Head of Digital Access & Web Services Montana State University Libraries
HTML5 and Mobile: New Markup & Styles for the Mobile Web Jason Clark Head of Digital Access & Web Services Montana State University Libraries Overview Demos View some code bits New Features and Functions
More informationFLOATING AND POSITIONING
15 FLOATING AND POSITIONING OVERVIEW Understanding normal flow Floating elements to the left and right Clearing and containing floated elements Text wrap shapes Positioning: Absolute, relative, fixed Normal
More informationFront-End UI: Bootstrap
Responsive Web Design BootStrap Front-End UI: Bootstrap Responsive Design and Grid System Imran Ihsan Assistant Professor, Department of Computer Science Air University, Islamabad, Pakistan www.imranihsan.com
More informationChapter 16: PAGE LAYOUT WITH CSS
Disclaimer: All words, pictures are adopted from Learning Web Design (3 rd eds.) by Jennifer Niederst Robbins, published by O Reilly 2007. PART III: CSS FOR PRESENTATION Chapter 16: PAGE LAYOUT WITH CSS
More informationLab 1: Introducing HTML5 and CSS3
CS220 Human- Computer Interaction Spring 2015 Lab 1: Introducing HTML5 and CSS3 In this lab we will cover some basic HTML5 and CSS, as well as ways to make your web app look and feel like a native app.
More informationCSC309 Programming on the Web week 3: css, rwd
CSC309 Programming on the Web week 3: css, rwd Amir H. Chinaei, Spring 2017 Office Hours: M 3:45-5:45 BA4222 ahchinaei@cs.toronto.edu http://www.cs.toronto.edu/~ahchinaei/ survey 1 in survey 1, you provide
More informationINFS 2150 Introduction to Web Development
INFS 2150 Introduction to Web Development 3. Page Layout Design Objectives Create a reset style sheet Explore page layout designs Center a block element Create a floating element Clear a floating layout
More informationINFS 2150 Introduction to Web Development
Objectives INFS 2150 Introduction to Web Development 3. Page Layout Design Create a reset style sheet Explore page layout designs Center a block element Create a floating element Clear a floating layout
More informationMore CSS goodness with CSS3. Webpage Design
More CSS goodness with CSS3 Webpage Design CSS3 for Web Designers CSS is Evolving Currently we have been working with CSS 2.1 This specification in its entirety is supported by all current browsers (there
More informationDesigning for diverse devices. Dr. Andres Baravalle
Designing for diverse devices Dr. Andres Baravalle 1 Outline Web 2.0 Designing for diverse devices 2 Web 2.0 Web 2.0 Web 2.0 is one of neologisms commonly in use in the Web community According to Tim O
More informationINFS 2150 Introduction to Web Development
Objectives INFS 2150 Introduction to Web Development Create a media query Work with the browser viewport Apply a responsive design Create a pulldown menu with CSS Create a flexbox 5. Mobile Web INFS 2150
More informationINFS 2150 Introduction to Web Development
INFS 2150 Introduction to Web Development 5. Mobile Web Objectives Create a media query Work with the browser viewport Apply a responsive design Create a pulldown menu with CSS Create a flexbox INFS 2150
More informationWeb Design and Implementation
Study Guide 3 - HTML and CSS - Chap. 13-15 Name: Alexia Bernardo Due: Start of class - first day of week 5 Your HTML files must be zipped and handed in to the Study Guide 3 dropbox. Chapter 13 - Boxes
More informationResponsive Web Design. Sheri German, Instructor Montgomery College
Responsive Web Design Sheri German, Instructor Montgomery College Responsive Web Design (RWD)! Coined by Ethan Marcotte through his awareness of what was taking place in the discipline of architecture.!
More informationAdvanced Dreamweaver CS6
Advanced Dreamweaver CS6 Overview This advanced Dreamweaver CS6 training class teaches you to become more efficient with Dreamweaver by taking advantage of Dreamweaver's more advanced features. After this
More informationLEVELING UP WITH FLEXBOX. SmashingConf March Zoe Mickley
LEVELING UP WITH FLEXBOX SmashingConf March 2014 Zoe Mickley Gillenwater @zomigi UX Designer Author Stunning CSS3: A Project-based Guide to the Latest in CSS www.stunningcss3.com Flexible Web Design: Creating
More informationHow to lay out a web page with CSS
How to lay out a web page with CSS A CSS page layout uses the Cascading Style Sheets format, rather than traditional HTML tables or frames, to organize the content on a web page. The basic building block
More informationCSC309 Winter Lecture 2. Larry Zhang
CSC309 Winter 2016 Lecture 2 Larry Zhang 1 Announcements Assignment 1 is out, due Jan 25, 10pm. Start Early! Work in groups of 2, make groups on MarkUs. Make sure you can login to MarkUs, if not let me
More informationDevelopment Training. For Developer. 4 th May, AOT Intranet Web Portal
Development Training AOT Intranet Web Portal For Developer 4 th May, 2017 Agenda Overview Intranet Web Portal Project Development Implementation With SharePoint Designer Tool Branding Master page Page
More informationYouTube Break. https://www.youtube.com/watch?v=lvtfd_rj2he
Layout Jeff Avery YouTube Break https://www.youtube.com/watch?v=lvtfd_rj2he Positioning Visual Components Previously, we learned about event handling and model-view-control architecture. Next, we need
More informationThe Benefits of CSS. Less work: Change look of the whole site with one edit
11 INTRODUCING CSS OVERVIEW The benefits of CSS Inheritance Understanding document structure Writing style rules Attaching styles to the HTML document The cascade The box model CSS units of measurement
More informationIntroduction to WEB PROGRAMMING
Introduction to WEB PROGRAMMING Web Languages: Overview HTML CSS JavaScript content structure look & feel transitions/animation s (CSS3) interaction animation server communication Full-Stack Web Frameworks
More informationCOMSC-031 Web Site Development- Part 2
COMSC-031 Web Site Development- Part 2 Part-Time Instructor: Joenil Mistal December 5, 2013 Chapter 13 13 Designing a Web Site with CSS In addition to creating styles for text, you can use CSS to create
More informationCS 350 Internet Applications I Name: Exam II (CSS) October 29, 2013
CS 350 Internet Applications I Name: Exam II (CSS) October 29, 2013 Part I. (50%) Multiple Guess Choice. 1. What does CSS stand for? a. Creative Style Sheets b. Computer Style Sheets c. Cascading Style
More informationGIMP WEB 2.0 MENUS WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR CREATING AN HTML LIST
GIMP WEB 2.0 MENUS Web 2.0 Menus: Horizontal Navigation Bar WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR Hover effect: CREATING AN HTML LIST Most horizontal or vertical navigation bars begin with a simple
More informationIntroduction to Cascading Style Sheet (CSS)
Introduction to Cascading Style Sheet (CSS) Digital Media Center 129 Herring Hall http://dmc.rice.edu/ dmc-info@rice.edu (713) 348-3635 Introduction to Cascading Style Sheets 1. Overview Cascading Style
More informationWeb Site Design. Stanford University Continuing Studies CS 03. Mark Branom
Web Site Design Stanford University Continuing Studies CS 03 Mark Branom branom@alumni.stanford.edu http://web.stanford.edu/people/markb/ Course Web Site: http://web.stanford.edu/group/csp/cs03 Week 5
More informationIntroduction to HTML & CSS. Instructor: Beck Johnson Week 2
Introduction to HTML & CSS Instructor: Beck Johnson Week 2 today Week One review and questions File organization CSS Box Model: margin and padding Background images and gradients with CSS Make a hero banner!
More informationResponsive Web Design (RWD)
Responsive Web Design (RWD) Responsive Web Design: design Web pages, so that it is easy to see on a wide range of of devices phone, tablet, desktop,... Fixed vs Fluid layout Fixed: elements have fixed
More informationWant to read more? You can buy this book at oreilly.com in print and ebook format. Buy 2 books, get the 3rd FREE!
Want to read more? You can buy this book at oreilly.com in print and ebook format. Buy 2 books, get the 3rd FREE! Use discount code: OPC10 All orders over $29.95 qualify for free shipping within the US.
More informationCSS & Troubleshooting IE6
CSS & Troubleshooting IE6 KIMBERLY BLESSING W EB DEVELOPER & MANAGER COMCAST INTERACTIVE MEDIA PHILADELPHIA, PA The CSS Summit July 18, 2009 Like Netscape 4 in 2000, IE6 is perceived to be holding back
More informationCREATIVE & TECHNICAL SPECIFICATIONS
CREATIVE & TECHNICAL SPECIFICATIONS CREATIVE SPECIFICATIONS EXPECTED ASSETS LANDSCAPE: 96Ox424px ipad: 768x928px 1O24x672px SAME SIZE FOR INTERSCROLLER SMARTFOOTER MPU INCONTENT INTERSTITIAL 64Ox2OOpx
More informationThe Importance of the CSS Box Model
The Importance of the CSS Box Model Block Element, Border, Padding and Margin Margin is on the outside of block elements and padding is on the inside. Use margin to separate the block from things outside
More informationContent First! Jeffrey Zeldman
Content First! Jeffrey Zeldman Think about what your users want and the content they need before thinking about tools and features. Remember content is often separated from your design so it shouldn t
More informationJoomla! extension JSN EasySlider User Manual
Joomla! extension JSN EasySlider User Manual (for JSN EasySlider 2.0.x) www.facebook.com/joomlashine www.twitter.com/joomlashine www.youtube.com/joomlashine This documentation is release under Creative
More informationJSN EasySlider Configuration Manual
JSN EasySlider Configuration Manual Introduction Product Overview JSN EasySlider JSN EasySlider is the cutting-edge way to present content on website: Informative - Impressive - Interactive. It helps you
More informationJSN PageBuilder 2 User Manual
JSN PageBuilder 2 User Manual Introduction About JSN PageBuilder 2 JSN PageBuilder 2 is the latest innovation of Joomla PageBuilder with great improvements in terms of design, features, and user experience.
More informationGetting Started with Eric Meyer's CSS Sculptor 1.0
Getting Started with Eric Meyer's CSS Sculptor 1.0 Eric Meyer s CSS Sculptor is a flexible, powerful tool for generating highly customized Web standards based CSS layouts. With CSS Sculptor, you can quickly
More informationCascading Style Sheets Level 2
Cascading Style Sheets Level 2 Course Objectives, Session 1 Level 1 Quick Review Chapter 6 Revisit: Web Fonts Chapter 8: Adding Graphics to Web Pages Chapter 9: Sprucing Up Your Site s Navigation Begin
More informationBefore you begin, make sure you have the images for these exercises saved in the location where you intend to create the Nuklear Family Website.
9 Now it s time to challenge the serious web developers among you. In this section we will create a website that will bring together skills learned in all of the previous exercises. In many sections, rather
More informationCSS Layout Part I. Web Development
CSS Layout Part I Web Development CSS Selector Examples Choosing and applying Class and ID names requires careful attention Strive to use clear meaningful names as far as possible. CSS Selectors Summary
More informationDesigning for the Mobile Web
Objectives Session 5.1 Create a media query Work with the browser viewport Apply a responsive design Create a pulldown menu with CSS Session 5.2 Create a flexbox Work with flex sizes Explore flexbox layouts
More informationAGENDA :: MULTIMEDIA TOOLS :: (1382) :: CLASS NOTES
CLASS :: 13 12.01 2014 AGENDA SIMPLE CSS MENU W/ HOVER EFFECTS :: The Nav Element :: Styling the Nav :: UL, LI, and Anchor Elements :: Styling the UL and LI Elements TEMPLATE CREATION :: Why Templates?
More informationPositioning in CSS: There are 5 different ways we can set our position:
Positioning in CSS: So you know now how to change the color and style of the elements on your webpage but how do we get them exactly where we want them to be placed? There are 5 different ways we can set
More informationCOMM 2555: Interactive Digital Communication / Spring 2018 Lab 9: Basic layout techniques with CSS
COMM 2555: Interactive Digital Communication / Spring 2018 Lab 9: Basic layout techniques with CSS Goals Practice working with the CSS box model, positioning and layout Step 1. Create your infrastructure
More informationFish Eye Menu DMXzone.com Fish Eye Menu Manual
Fish Eye Menu Manual Page 1 of 33 Index Fish Eye Menu Manual... 1 Index... 2 About Fish Eye Menu... 3 Features in Detail... 4 Integrated in Dreamweaver... 6 Before you begin... 7 Installing the extension...
More informationCreating and Building Websites
Creating and Building Websites Stanford University Continuing Studies CS 21 Mark Branom branom@alumni.stanford.edu Course Web Site: http://web.stanford.edu/group/csp/cs21 Week 6 Slide 1 of 28 Week 6 Agenda
More information