Building Responsive Websites with the Bootstrap 3 Framework

Similar documents
Responsive Web Design. birds of feather

Principles of Web Design 6 th Edition. Chapter 12 Responsive Web Design

Figure 1 responsive grid system for all view ports, from desktops, tablets and smart phones

Responsive Web Design (RWD) Best Practices Guide Version:

Building Web Applications

BT CONTENT SHOWCASE. JOOMLA EXTENSION User guide Version 2.1. Copyright 2013 Bowthemes Inc.

Magento Responsive Theme Design

Responsive Web Design in Application Express

MAGENTO THEME SHOE STORE

RESPONSIVE DESIGN FOR MOBILE RENDERING

Treble: One Page Website. Step 8 - Responsive Web Design

Responsive Web Design for Drupal

Develop IBM i Mobile and Desktop Applications with a Single Code Base. BCD Software, LLC. All rights reserved.

Responsive Design How to get started

Choosing a Mobile Strategy for Your Business

Responsive Web Design for Teachers. Exercise: Building a Responsive Page with the Fluid Grid Layout Feature

Style & Layout in the web: CSS and Bootstrap

You can use percentages for both page elements and text. Ems are used for text,

Joostrap RWD Bootstrap Template

JTouch Mobile Extension for Joomla! User Guide

Table of Contents. What is ProSite? What is Behance? How do ProSite & Behance work together? Get Started in 6 Easy Steps.

One Page Everywhere. Fluid, Responsive Design with Semantic.gs

Responsive Design: Ben Callahan

Google Sites: Creating, editing, and sharing a site

CREATING RESPONSIVE UI FOR WEB STORE USING CSS

Going Beyond SAP ITS Mobile Apps to a Responsive Design Mobile Apps. JK (JayaKumar Pedapudi) Principal Consultant NTT DATA, Inc.

Using HTML5 Pack for ADOBE ILLUSTRATOR CS5

Web Design Basics. Cindy Royal, Ph.D. Associate Professor Texas State University

Skills for Employment Investment Project (SEIP)

Recommendations for Websites Optimization for Mobile Devices Using Mobile Centric CSS. February 2014 Update

Mistral Joomla Template

Building Responsive Layouts

Designing for the Mobile Web Lesson 3: HTML5 Web Apps

Web Design & Development - Tutorial 04

Version 1.0 OFFICIAL THEME USER GUIDE. reva. HTML5 - Responsive One Page Parallax Theme

Developing Mobile Websites with Responsive Web Design and jquery Mobile

WP Popup Magic User Guide

Responsive Web Design: Media Types/Media Queries/Fluid Images

Magic Liquidizer Documentation

Magento Theme EM0006 for Computer store

Joomla! template Blendvision v 1.0 Customization Manual

ultimo theme Update Guide Copyright Infortis All rights reserved

Project Proposal. Developing modern E-commerce web application via Responsive Design

This document will describe how you can create your own, fully responsive. drag and drop template to use in the creator.

Mobile Web Site Style Guide

New Online Banking Guide for FIRST time Login

Mobile Web Design with HTML5, CSS3, JavaScript and JQuery Mobile Training BSP-2256 Length: 5 days Price: $ 2,895.00

Timeline for Microsoft Dynamics CRM

Web Designing with UI Designing

Edwin Analytics Getting Started Guide

ireview Template Manual

Charts for SharePoint

FUNCTIONAL OVERVIEW VERSION: 1.0

USER S MANUAL JOOMLA! GOVERNMENT WEB TEMPLATE

Faculty Access for the Web 7 - New Features and Enhancements

How To Change Your Site On Drupal Cloud On A Pcode On A Microsoft Powerstone On A Macbook Or Ipad (For Free) On A Freebie (For A Free Download) On An Ipad Or Ipa (For

Web Development 1 A4 Project Description Web Architecture

Frames. In this chapter

Version 1.3 OFFICIAL THEME USER GUIDE. Renova. Unique Creative Portfolio - Responsive HTML5

Message from Marketing & Creative Services

Responsive web design Are we ready for the new age?

Fortis Theme. User Guide. v Magento theme by Infortis. Copyright 2012 Infortis

GETTING STARTED WITH COVALENT BROWSER

Instructions for Configuring Your Browser Settings and Online Security FAQ s. ios8 Settings for iphone and ipad app

SPHOL326: Designing a SharePoint 2013 Site. Hands-On Lab. Lab Manual

Configuring the JEvents Component

BT BACKGROUND SLIDESHOW JOOMLA EXTENSION User guide Version 2.0

CREATING HORIZONTAL NAVIGATION BAR USING ADOBE DREAMWEAVER CS5

Website Builder Documentation

ADOBE MUSE. Building your first website

Extended Reference for Freeway 7

Working with the new enudge responsive styles

We automatically generate the HTML for this as seen below. Provide the above components for the teaser.txt file.

RESPONSIVE WEB DEVELOPMENT USING THE TWITTER BOOTSTRAP FRAMEWORK

01/42. Lecture notes. html and css

WP Popup Magic User Guide

Let's Dig Into the Omega Theme October 27,

Transport for London DESIGN STYLE GUIDE

Designing HTML s for Use in the Advanced Editor

White Paper Using PHP Site Assistant to create sites for mobile devices

Improved Navigation Magento Extension User Guide

Building Your First Drupal 8 Company Site

Using Style Sheets for Consistency

Joostrap Template Documentation

Transcription:

Building Responsive Websites with the Bootstrap 3 Framework Michael Slater and Charity Grace Kirk michael@webvanta.com 888.670.6793 1

Today s Presenters Michael Slater President and Cofounder of Webvanta Has been creating content-rich websites since the web s early days Previously director of technology strategy at Adobe Systems Charity Grace Kirk Senior web developer at Webvanta More than 5 years experience building sites for clients on the Webvanta platform Experience in content strategy, search engine optimization, and online marketing. 2

Asking Questions Now Ask questions by entering the text in the GoToWebinar control panel Later Follow up with us afterwards (sales@webvanta.com) if you have questions that didn t get addressed Link to slides, video, and code will be emailed to you tomorrow 3

What is Your Role in Building Websites? Designer Developer Manager 4

Why Responsive Design? 5

Adapt to a wide range of screen sizes http://www.tempeazdentist.com 6

Desktop-focused sites are hard to use on phones 7

Google encouraging responsive design Searches on mobile phones should link to mobile-friendly content 8

How much of your browsing is on a phone or tablet? None Less than 10% 10% to 40% About half More than half 9

Mobile is Exploding! Mobile devices (phones and tablets) Now account for ~20% of all web traffic Higher for restaurants, hotels Black Friday mobile traffic Up 34% from last year, sales up 43% 21.6% of all online sales from mobile 10

The Mobile Site Alternative jquery Mobile with Server-side mobile detection http://arthistory.berkeley.edu 11

Responsive Design Basics Uses CSS Media Queries More than just fluid design Columns can stack at smaller widths Sizes, padding, margin all can adjust Elements can be hidden or swapped out 12

CSS Media Queries For Example: @media (min-width: 440px) and (max-width: 767px) { h1.logo { text-align: center; } }.subtitle { display: none; } rule will only apply to screens 440px wide to 767 px wide 13

Media Query Browser Support Chrome, Firefox, Safari, Opera All reasonably recent versions IE10 fully supported IE9: except for a few CSS enhancements IE8: requires respond.js and html5shiv.js IE7: not officially supported, but should look and behave well enough 14

Why Bootstrap? Speed up development Responsive grid system Quality default typography Common components Popular jquery plugins Simplifies bootstrapping your design 15

What is Bootstrap? Created by Twitter, published as open source Consists of a CSS file, a JS file, and an icon font CSS is compiled from LESS source JS can be loaded in everything version or only selected pieces Requires jquery 16

Mobile-First Strategy Content Determine what is most important Layout Design to smaller widths first Base CSS addresses phones; media queries for tablet and desktop Progressive enhancement Add elements as screen size increases 17

Bootstrap Break Points /* Extra small devices ( phones, less than 768px) */ /* No media query need as this is the default Bootstrap */ /* Small devices ( tablets, 768px and up) */ @media (min-width: 768px) {... } /* Medium devices ( desktops, 992px and up) */ @media (min-width: 992px) {... } /* Large devices ( large desktops, 1200px and up) */ @media (min-width: 1200px) {... } 18

Responsive Grid Standard grid is 12 columns wide Fluid by default, then 3 fixed widths design width max column fluid 750px 970px 1170px 100% 60px 78px 95px 19

Basic Grid Structure <div class= container > <div class= row > <div class= col-*-* ></div> <div class= col-*-* ></div> </div> <div class= row > </div> <div class= container >... 20

Example 1 understanding.col-md-* See grid.html 21

Controlling the Grid Each breakpoint has its own grid class.col-xs-*,.col-sm-*,.col-md-*,.col-lg-* Below the smallest defined breakpoint for a column, it stacks vertically 22

Example 2 easy column scaling up and down See grid2.html 23

Ordering the Grid Push and Pull columns to position on larger widths. e.g..col-md-push-* or.col-md-pull-* 24

Example 3 easy column positioning See grid3.html 25

Responsive Images Background Images in CSS Can load appropriate-size image based on viewport size (via media queries) Images in HTML (<img src="filename.jpg">) Class.img-responsive sets max-width to 100% Browser scales images to fit container, but doesn t allow them to get pixelated 26

Helper Classes Bootstrap includes a variety of CSS classes to help make markup more semantic pull-left, pull-right center-block, text-right, text-center clearfix visible-xs, hidden-xs, visible-md 27

Navigation Vertical Toggle Nav Horizontal Nav http://www.wchealth.org 28

JavaScript Features Many common JavaScript-based plugins and functions included Carousel, transitions Modal, alert Dropdown, tab, tooltip, popover, button Collapse Scrollspy 29

JavaScript without JavaScript CSS classes and HTML5 data attributes used to trigger behavior Bootstrap JS file finds these attributes and uses them to active JS and CSS code 30

JavaScript Plugin Examples see widgets.html 31

Visual Components Icon library Buttons Breadcrumbs Pagination Navbar Progress bar... and more 32

Does Bootstrap seem like a good fit for you? No (don t plan to support mobile) No (plan to support mobile differently) Probably, I need to learn more Yes, I can t wait! 33

Customizing Add your own CSS file after the Bootstrap file to override and add classes Can edit source LESS files and recompile into customized CSS Upgrading to new Bootstrap version can be difficult 34

Other Responsive Frameworks Foundation (foundation.zurb.com) Skeleton (getskeleton.com) 35

Get Started! getbootstrap.com www.webvanta.com/trial 36

Webvanta SmartTheme Gives you an instant start Fully hosted, all code in place Integrate with database-driven content The fast way to a powerful, custom and responsive site Join our January webinar 37

What are your major questions? Let us know what more you d like to know and we ll use it to guide our upcoming articles and webinars 38

We re Here to Help Webvanta specializes in creating content-rich sites that deliver on business goals Get your private consultation Free 30-minute consultation email sales@webvanta.com or call 888.670.6793 Learn more online and stay in touch www.webvanta.com/blog www.facebook.com/webvanta 39

241 South Main Street Sebastopol, CA 95472 sales@webvanta.com 888.670.6793 www.webvanta.comt 40