Slide 1

Slide 1 text

LIBRARIES RESPONSIVE WEB DESIGN MATTHEW REIDSMA FOR GRAND VALLEY STATE UNIVERSITY

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

The control which designers know in the print medium, and often desire in the web medium, is simply a func on of the limita on of the printed page. http://www.alistapart.com/articles/dao/ “ John Allsopp

Slide 5

Slide 5 text

We should embrace the fact that the web doesn’t have the same constraints, and design for this flexibility. http://www.alistapart.com/articles/dao/ John Allsopp “

Slide 6

Slide 6 text

http://www.w3.org/History/19921103-hypertext/hypertext/WWW/TheProject.html

Slide 7

Slide 7 text

My website will meet you wherever you are... “ Trent Walton http://trentwalton.com/2011/05/10/fit-to-scale/

Slide 8

Slide 8 text

MOBILE DESKTOP VS.

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

http://googlemobileads.blogspot.com/2011/04/complimentary-copy-of-mobile-movement.html 84% 80% 76% 64% 39% AT HOME RANDOM DOWNTIMES WAITING IN LINE AT WORK IN THE BATHROOM http://blog.compete.com/2010/03/12/smartphone-owners-a-ready-and-willing-audience/

Slide 12

Slide 12 text

http://googlemobileads.blogspot.com/2011/04/complimentary-copy-of-mobile-movement.html 84% 80% 76% 64% 39% AT HOME RANDOM DOWNTIMES WAITING IN LINE AT WORK IN THE BATHROOM http://blog.compete.com/2010/03/12/smartphone-owners-a-ready-and-willing-audience/ 61% LIARS

Slide 13

Slide 13 text

“ There is no mobile web. There is only The Web, which we view in different ways Stephen Hay http://www.the-haystack.com/2011/01/07/there-is-no-mobile-web/

Slide 14

Slide 14 text

DESIGN RESPONSIVE WEB

Slide 15

Slide 15 text

FLEXIBLE GRIDS 1

Slide 16

Slide 16 text

{ 80px { 24px

Slide 17

Slide 17 text

960px 288px 600px

Slide 18

Slide 18 text

.left { float: left; width: 288px; } .right { float: right; width: 600px; }

Slide 19

Slide 19 text

960px 288px 600px

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

960px 288px 600px

Slide 24

Slide 24 text

960px 288px 600px

Slide 25

Slide 25 text

960px 288px 600px

Slide 26

Slide 26 text

TARGET CONTEXT ÷ RESULT From Ethan Marcotte, Responsive Web Design, 2011.

Slide 27

Slide 27 text

No content

Slide 28

Slide 28 text

600 ÷ 960 = 62.5% 288 ÷ 960 = 30% TARGET ÷ CONTEXT = RESULT

Slide 29

Slide 29 text

.left { float: left; width: 30%; } .right { float: right; width: 62.5%; }

Slide 30

Slide 30 text

100% 30% 62.5%

Slide 31

Slide 31 text

FLUID IMAGES 2

Slide 32

Slide 32 text

img { max-size: 100%; }

Slide 33

Slide 33 text

MEDIA QUERIES 3

Slide 34

Slide 34 text

320px Phone - portrait 480px Phone - landscape 600px 7” tablets - portrait 768px 10” tablets - portrait 980px #blue-banner-bar width 1024px 10” tablets - landscape, “desktop”

Slide 35

Slide 35 text

No content

Slide 36

Slide 36 text

@media screen and (min-width: 480px) { ... } /* Base styles */ ... /* Progressive styles */ @media screen and (min-width: 600px) { ... } @media screen and (min-width: 768px) { ... } @media screen and (min-width: 980px) { ... } @media screen and (min-width: 1024px) { ... }

Slide 37

Slide 37 text

No content

Slide 38

Slide 38 text

No content

Slide 39

Slide 39 text

No content

Slide 40

Slide 40 text

No content

Slide 41

Slide 41 text

HOME PLAY ALONG LOLLIBRARY.ORG AT

Slide 42

Slide 42 text

HTML WELL- STRUCTURED

Slide 43

Slide 43 text

SOURCE ORDER

Slide 44

Slide 44 text

IS LAYOUT ENHANCEMENT AN -Ethan Marcotte https://twitter.com/zeldman/status/166653639383973889

Slide 45

Slide 45 text

No content

Slide 46

Slide 46 text

CONTENT FIRST

Slide 47

Slide 47 text

HEADING 1 FORM SECTION #NEWS SECTION #EVENTS SECTION #EXHIBITS NAV FOOTER

Slide 48

Slide 48 text

No content

Slide 49

Slide 49 text

http://www.flickr.com/photos/splorp/6141775264/

Slide 50

Slide 50 text

HOME CODE ALONG GITHUB.COM/MREIDSMA/LOL AT

Slide 51

Slide 51 text

GRIDS MORE ON

Slide 52

Slide 52 text

TO PICTURES CODE FROM

Slide 53

Slide 53 text

CONTENT FIRST

Slide 54

Slide 54 text

MOBILE FIRST

Slide 55

Slide 55 text

The absence of support for @media queries is in fact the first @media query. http://www.slideshare.net/bryanrieger/rethinking-the-mobile-web-by-yiibu “ Bryan Rieger

Slide 56

Slide 56 text

MOBILE STYLES BASE ARE

Slide 57

Slide 57 text

No content

Slide 58

Slide 58 text

BLOCK ELEMENTS NAVIGATION AT THE BOTTOM ANCHOR LINK TO NAV IN HEADER 1 2 3 STYLES BASE

Slide 59

Slide 59 text

HEADING 1 ANCHOR # INPUT TYPE=”TEXT” INPUT TYPE=”SUBMIT” SECTION #NEWS SECTION #EVENTS SECTION #EXHIBITS FOOTER NAVIGATION

Slide 60

Slide 60 text

h1 { float: left; width: 66%; } header .nomed { float: right; width: 33%; } HEADING 1 ANCHOR #

Slide 61

Slide 61 text

h1 { float: left; padding-left: .65%; width: 65%; } header .nomed { float: right; margin-right: 1%; width: 32%; }

Slide 62

Slide 62 text

INPUT TYPE=”TEXT” INPUT TYPE=”SUBMIT” input[type=”text”] { display: block; margin: 0 1%; padding: .4em .96%; width: 96%; } input[type=”submit”] { display: block; margin: .5em 1%; width: 98%; }

Slide 63

Slide 63 text

SIZE ENHANCE WITH

Slide 64

Slide 64 text

@media screen and (min-width: 33.75em) { /* Styles at least this wide go here */ }

Slide 65

Slide 65 text

WHAT? EM

Slide 66

Slide 66 text

SIZ RELATIVE ES

Slide 67

Slide 67 text

= 1 EM 16 PX*

Slide 68

Slide 68 text

RELATIVE RELATIVE EMSARE

Slide 69

Slide 69 text

= 33.75 EM 540 PX*

Slide 70

Slide 70 text

IS WHAT DEVICE 540 PIXELS?

Slide 71

Slide 71 text

320px Phone - portrait 480px Phone - landscape 600px 7” tablets - portrait 768px 10” tablets - portrait 980px #blue-banner-bar width 1024px 10” tablets - landscape, “desktop”

Slide 72

Slide 72 text

320px Phone - portrait 480px Phone - landscape 600px 7” tablets - portrait 768px 10” tablets - portrait 980px #blue-banner-bar width 1024px 10” tablets - landscape, “desktop”

Slide 73

Slide 73 text

THE NOT ABOUT DEVICE

Slide 74

Slide 74 text

THE IT’S ABOUT CONTENT

Slide 75

Slide 75 text

BREAK POINT? WHEN LAYOUT BREAKS

Slide 76

Slide 76 text

No content

Slide 77

Slide 77 text

FORM IN HEADER TO RIGHT NAVIGATION AT THE TOP ANCHOR LINK TO NAV IN HEADER GONE 1 2 3 STYLES >33.75EM

Slide 78

Slide 78 text

HEADING 1 ANCHOR # INPUT TYPE=”TEXT” INPUT TYPE=”SUBMIT” SECTION #NEWS SECTION #EVENTS SECTION #EXHIBITS FOOTER NAVIGATION

Slide 79

Slide 79 text

SECTION #NEWS SECTION #EVENTS SECTION #EXHIBITS FOOTER HEADING 1 INPUT SUBMIT NAVIGATION

Slide 80

Slide 80 text

.nomed { display: none; }

Slide 81

Slide 81 text

h1 { width: 32%; } form { float: left; width: 66%; } input[type=”text”] { width: 66%; } input[type=”submit”] { float: right; width: 28%; } HEADING 1 INPUT SUBMIT

Slide 82

Slide 82 text

body { display: table; caption-side: top; } nav[role="navigation"] { display: table-caption; } nav[role="navigation"] ol { display: table-row; } nav[role="navigation"] ol li { display: table-cell; } NAVIGATION http://adactio.com/journal/4780/

Slide 83

Slide 83 text

No content

Slide 84

Slide 84 text

NEWS & EVENTS IN RIGHT COLUMN EXHIBITS IN LEFT COLUMN 1 2 STYLES >43.75EM

Slide 85

Slide 85 text

FOOTER HEADING 1 SUBMIT INPUT NAVIGATION SECTION #NEWS SECTION #EVENTS SECTION #EXHIBITS HEADING 1 INPUT SUBMIT NAVIGATION

Slide 86

Slide 86 text

... ...

Slide 87

Slide 87 text

#right-column { float: right; width: 30%; } #exhibits { float: right; width: 66%; }

Slide 88

Slide 88 text

No content

Slide 89

Slide 89 text

NEWS & EVENTS ACROSS THE TOP EXHIBITS IN LEFT COLUMN HEADING CHANGED TO FULL NAME 1 2 3 STYLES >64 EM

Slide 90

Slide 90 text

FOOTER HEADING 1 SUBMIT INPUT NAVIGATION SECTION #NEWS SECTION #EVENTS SECTION #EXHIBITS HEADING 1 SUBMIT INPUT NAVIGATION HEADING 1 INPUT SUBMIT NAVIGATION

Slide 91

Slide 91 text

#right-column { float: none; margin-left: 0; width: 100%; } #events { clear: none; width: 66%; float: right; } #news { width: 30%; margin-left: 3%; float: right; }

Slide 92

Slide 92 text

.event-img { float: left; margin: 0 1.5%; width: 47%; }

Slide 93

Slide 93 text

#exhibits { ! width: 100%; ! float: none; ! clear: both; } ! #exhibits .exhibit-section { ! float: left; ! width: 31.3%; ! margin: 0 1%; }

Slide 94

Slide 94 text

Slide 95

Slide 95 text

h1 span { display: none; } @media screen and (min-width: 64em) { h1 abbr { display: none; } h1 span { display: inline; } }

Slide 96

Slide 96 text

My website will meet you wherever you are... “ Trent Walton http://trentwalton.com/2011/05/10/fit-to-scale/

Slide 97

Slide 97 text

No content

Slide 98

Slide 98 text

LIBRARIES OTHER (THAT EXIST)

Slide 99

Slide 99 text

http://gvsu.edu/library

Slide 100

Slide 100 text

http://lib.virginia.edu

Slide 101

Slide 101 text

http://cantonpl.org

Slide 102

Slide 102 text

http://www.hendrix.edu/baileylibrary/

Slide 103

Slide 103 text

http://allisonlibrary.regent-college.edu/

Slide 104

Slide 104 text

RWD LIBRARIES http://bit.ly/rwd-highered AND

Slide 105

Slide 105 text

ABOUT A WORD SUPPORT

Slide 106

Slide 106 text

No content

Slide 107

Slide 107 text

https://github.com/scottjehl/Respond/

Slide 108

Slide 108 text

READ ARTICLES http://readlists.com/46e48ddd/ TO

Slide 109

Slide 109 text

http://www.abookapart.com/products/responsive-web-design

Slide 110

Slide 110 text

http://bradfrost.github.com/this-is-responsive/

Slide 111

Slide 111 text

CHEATS? WHERE ARE THE

Slide 112

Slide 112 text

http://twitter.github.com/bootstrap/ TWITTER BOOTSTRAP http://foundation.zurb.com/ FOUNDATION

Slide 113

Slide 113 text

No content

Slide 114

Slide 114 text

[email protected] :: @mreidsma matthewreidsma.com :: gvsu.edu/library/labs YOU THANK