A better approach to mobile

Slides:



Advertisements
Similar presentations
15 LAYOUT Controlling the position of elements Creating site layouts Designing for different sized screens.
Advertisements

Media Queries Jeffery Davis CIT media is used to define different style rules for different media types and devices. Media queries.
RESPONSIVE WEB DESIGN NYU Webmaster Meetup, October 3 rd, 2014.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 7 Key Concepts 1 Copyright © Terry Felke-Morris.
Responsive Web Design Design websites so that they can adapt to different devices seamlessly. Image by Muhammed RafizeldiMuhammed Rafizeldi.
RESPONSIVE DESIGN Sources: Kadlec, T. (2012). Implementing responsive design. Berkeley, California: New Riders Publishing. MarcotteMarcotte, E. (2010).
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 12: Building Responsive Webpages.
WRA 210 – SS2014 RWD1 : CSS Media Queries. Responsive? Responsive Web Design… Means that a web site works optimally well for users regardless of the device.
CIT 256 Mobile Web Development Dr. Beryl Hoffman.
Lesson 15: Mobile Design and Layout Introduction to Adobe Dreamweaver CS6 Adobe Certified Associate: Web Communication using Adobe Dreamweaver CS6.
WDV 331 Dreamweaver Applications Designing Websites for Mobile Devices Dreamweaver CS6 Chapter 11.
And Mobile Web Browsers
DEVELOPING FOR MOBILE Jackie Calapristi. AGENDA  Why you should go mobile  Mobile Design Options  Responsive Design  Tips & Tools to Help You Build.
Responsive Design - It’s time for a reality check.
Basic Responsive Design Techniques. Let’s take a look at this basic layout. It has a header and two columns of text, in a box that is centered on the.
Copyright 2012 Adobe Systems Incorporated. All rights reserved. ® Copyright 2010 Adobe Systems Incorporated. All rights reserved. ® Copyright 2012 Adobe.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 7 Key Concepts 1 Copyright © Terry Felke-Morris.
Web Design: Responsive Layouts Sarah Murto 09/29/ W - Graduate Workshop.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 7 Key Concepts 1 Copyright © Terry Felke-Morris.
Positioning Objects with CSS and Tables
Responsive (Mobile) Design What is this? Why Should You Care?
 An HTML, CSS, Javascript framework you can use as a basis for creating web sites  Uses CSS settings, fundamental HTML elements styled and enhanced.
Responsive Web Design (RWD) MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/11/2016.
A gentle introduction to Bootstrap TDAP Jeremy Shafer Department of MIS Fox School of Business Temple University Spring
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Essential Questions What challenges do mobile devices present to Web designers? What are the basic concepts.
And Mobile Web Browsers
Web Development & Design Foundations with HTML5
School of Business Administration
CSCI 1720 W3.CSS – Part 1 East Tennessee State University Department of Computing CSCI 1720 Intermediate Web Design.
Implementing Responsive Design UNIT I.
>> Navigation and Layouts in CSS
Implementing Responsive Design
CSS Wrap-Up Lists as a Navigation System CSS Layout CSS Animations
Responsive Web Design (RWD)
Responsive Web Pages.
Concepts for fluid layout
Styling For Print From Screen to Paper
Introduction to CSS Media Query - Lesson 11
Web Browsers & Mobile Web Browsers.
Web Development & Design Foundations with HTML5
Putting Things Where We Want Them
CS 0134 (term 2181) Jarrett Billingsley
RESPONSIVE WEB DESIGN.
CS3220 Web and Internet Programming Page Layout with CSS
>> CSS Layouts.
Objectives Create a media query Work with the browser viewport
Web Development & Design Foundations with HTML5 8th Edition
CSS part 2 Outro.
Web Development & Design Foundations with HTML5 7th Edition
Responsive Design.
Making Your Site Mobile-Ready
Responsive Web Design (RWD)
Responsive Web Design (RWD)
Responsive Framework.
Responsive Web Design and Bootstrap
Responsive Web Design (RWD)
WEB DESIGN FOR MULTIPLE SCREENS
Chapter 7 Absolute/relative hyperlinks Frag id 3-column site
CS3220 Web and Internet Programming Page Layout with CSS
Responsive Web Design and Bootstrap
Bootstrap 4 December 17, 2018.
Web Client Side Technologies Raneem Qaddoura
Web Development & Design Foundations with HTML5
Web Client Side Technologies Raneem Qaddoura
Concepts for fluid layout
And Mobile Web Browsers
CSc 337 Lecture 5: Grid layout.
And Mobile Web Browsers
17 RESPONSIVE WEB DESIGN.
Christopher Harrison Jeremy Foster
Presentation transcript:

A better approach to mobile Responsive Design A better approach to mobile Slides by Sean Boyle, 2/24/2015

Responsive Design that responds to the user’s display, and adapts to provide an optimized viewing/browsing experience.

At high resolution, it’s a nice-looking page, with a screen- optimized layout. It’s not designed for a large screen, but it looks good on it.

As the window size decreases, the content is flexible enough to resize with it. But what happens when the screen size gets even smaller? Like, say, 480px (a standard size for smartphones)?

Now the CSS changes, displaying things a bit differently… Optimized for a very small screen (large buttons, vertical layout, single column…)

Flexbox From w3schools: “Use of flexbox ensures that elements behave predictably when the page layout must accommodate different screen sizes and different display devices. For many applications, the flexible box model provides an improvement over the block model in that it does not use floats, nor do the flex container's margins collapse with the margins of its contents.” https://css-tricks.com/snippets/css/a-guide-to-flexbox/

Templates… Lots of existing templates can be found online that do a lot of the responsive work for you: Bootstrap http://getbootstrap.com/ TemplateMo http://www.templatemo.com/ Just one of many that I picked at random

Templates… They’re cool and gaining more acceptance in the Web design world, but working with them still means knowing HTML/CSS! Let’s see what these template sites give us. Note that at this point they still need to write their own code. Project 3 will let them use frameworks. Look at the Bootstrap files and decipher them, then do the same for another template from TemplateMo

Mobile CSS <link rel="stylesheet" type="text/css” href=”mobile.css" media=”handheld" /> As with print CSS, this stylesheet will apply to any “handheld” device. The problem is, most current smartphones and tablets don’t consider themselves “handhelds.”

Media Queries A better option for mobile devices One slight addition to our CSS: @media screen and (max-width: 480px) { /* Rules here for the specified screen size */ }

Media Queries To be really thorough, consider applying different styles to different widths. Test it on as many devices as you can! Note that there is a difference between “width” and “device width” iPhone has a width between 320 and 480, even though it’s actually got a device width much higher than that, due to its high pixel density Tablets are also different from phones

One more thing… <meta name="viewport" content="width=device-width, initial-scale=1.0" /> Some devices, like the iPhone, will try to scale elements in your page, regardless of media queries. This meta tag will alleviate this issue! http://viewportsizes.com/

Media Queries More information and the full specification: http://www.w3.org/TR/css3-mediaqueries/