Slide 1

Slide 1 text

No content

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

* The centre of the known universe according to ClearLeft BRIGHTON*

Slide 4

Slide 4 text

HARDBOILED WEB DESIGN ANDY CLARKE BY

Slide 5

Slide 5 text

I looked at him and laughed. He turned his head and stared right into the muzzle of his own gun. The killer’s face was a vile mask of hated. He had his mouth open, screaming with all the furies of the gods dethroned, but my laugh was even louder. He was still screaming when I pulled the trigger. ” “ — “My Gun is Quick” by Mickey Spillane (1950)

Slide 6

Slide 6 text

WHAT THE HELL IS HARD BOILED?

Slide 7

Slide 7 text

HUMPHREY BOGART AS SAM SPADE

Slide 8

Slide 8 text

STACY KEACH AS MIKE HAMMER

Slide 9

Slide 9 text

ANDY CLARKE AS MALARKEY P.I.

Slide 10

Slide 10 text

WHAT THE HELL IS HARD BOILED?

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

— Smashing Magazine comment SOFTER & MORE ABSORBENT THAN MOST WEB MAGAZINES I can’t wait to start using the new CSS3 standard, but I don’t think we can start just yet. Especially when IE isn’t supported in some of these. ” “

Slide 13

Slide 13 text

I hope CSS3 will be a standard in the near future, right now you can’t really use anything of it ’cause not every browser supports it. “ ” — Smashing Magazine comment SOFTER & MORE ABSORBENT THAN MOST WEB MAGAZINES

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

W00T!* * irony

Slide 17

Slide 17 text

PROGRESSIVE ENHANCEMENT

Slide 18

Slide 18 text

The key to the [MOSe] method is somewhat similar to how Netscape 4 page design developed as CSS became more prevalent — after creating a basic, functioning page in IE, you add extra functionality with these [at the time] advanced selectors. — Dave Shea THE GUY MADE THE CSS ZEN GARDEN “ ”

Slide 19

Slide 19 text

Progressive enhancement builds for the least capable devices first, then moves on to enhance those documents [to] allow a richer experience for those users with modern graphical browser software. — Steve Champeon THE OTHER GUY WHO STARTED WASP ” “

Slide 20

Slide 20 text

2003 7* Coincidentally the same year George W. Bush declared “mission accomplished” in Iraq.

Slide 21

Slide 21 text

2003 — you were carrying 10 GB, 15 GB, 30 GB Touch Wheel iPod

Slide 22

Slide 22 text

Adobe Photoshop CS Apple Safari 1.0 Mac OS X 10.2 (Jaguar) Macromedia Dreamweaver 7 Microsoft FrontPage 2003 Microsoft Office 2003 Microsoft Windows XP (SP2) Mozilla Phoenix/Firebird Opera 7.x 2003 — you were using

Slide 23

Slide 23 text

ENHANCEMENT PROGRESSIVE

Slide 24

Slide 24 text

ENRICHMENT PROGRESSIVE

Slide 25

Slide 25 text

border-radius border-image box-shadow columns gradients @font-face Safari 4 Snow Leopard Firefox 3.6 Opera 10.5 IE8

Slide 26

Slide 26 text

keyframe animations multiple background images opacity RGBa / HSLa text-shadow transforms transitions

Slide 27

Slide 27 text

No content

Slide 28

Slide 28 text

border-radius box-shadow @font-face multiple background images opacity RGBa / HSLa Safari 4 Snow Leopard Firefox 3.6 Opera 10.5 IE9 Updated March 2010

Slide 29

Slide 29 text

No content

Slide 30

Slide 30 text

THEY CAN’T, CARRY ON

Slide 31

Slide 31 text

CHARLTON HESTON ANNOUNCES CSS3 SPECIFICATION

Slide 32

Slide 32 text

YOU’RE LIVING IN A FANTASY WORLD

Slide 33

Slide 33 text

W3C IS NOT AN INNOVATION BODY

Slide 34

Slide 34 text

No content

Slide 35

Slide 35 text

A collaborative non-partisan discussion? BWAHAHAHA! What do you think is a standardisation body? It’s a BATTLEFIELD where vendors fight for competitive advantage. — Daniel Glazman CO-CHAIR OF THE CSS WORKING GROUP “ ”

Slide 36

Slide 36 text

[Andy], you’re incredibly naive or incredibly out of your mind. — Daniel Glazman CO-CHAIR OF THE CSS WORKING GROUP (YEAH, REALLY) “ ”

Slide 37

Slide 37 text

KEEP CALM CARRY ON

Slide 38

Slide 38 text

KEEP CALM CARRY ON GET HARDBOILED

Slide 39

Slide 39 text

GET EXCITED MAKE THINGS

Slide 40

Slide 40 text

No content

Slide 41

Slide 41 text

No content

Slide 42

Slide 42 text

101 HARDBOILED 404

Slide 43

Slide 43 text

No content

Slide 44

Slide 44 text

404

You  dumb  mug!

What  you’re  looking  for  just  ain’t  here.   Did  you  click  a  link  that  I  bumped  off?   Don’t  be  a  bunny.

hardboiled markup

Slide 45

Slide 45 text

@font-­‐face  { font-­‐family  :  Boycott; src:  url(boycott.eot); src:  local(Boycott),  local(Boycott),   url(boycott.ttf)  format(truetype);  } @font-­‐face  { font-­‐family  :  ChunkFive; src  :  url(chunkfive.eot); src  :  local(ChunkFive),  local(ChunkFive),   url(chunkfive.ttf)  format(truetype);  } @font-face

Slide 46

Slide 46 text

 h1  {  font-­‐family  :  ChunkFive,  Helvetica,  Arial;  font-­‐size  :  10em;  } @font-face p:first-­‐of-­‐type  { font-­‐family  :  ChunkFive,  Helvetica,  Arial;   font-­‐size  :  1.6em; p  { font-­‐family  :  Boycott,  Helvetica,  Arial;   font-­‐size  :  1em;  }

Slide 47

Slide 47 text

 h1  {  font-­‐family  :  ChunkFive,  Helvetica,  Arial;  font-­‐size  :  10em;    text-­‐shadow  :  -­‐1px  -­‐1px  4px  rgb(0,0,0),                                  0        3px  3px  rgb(255,0,0);  } text-shadow

Slide 48

Slide 48 text

 h1  {  font-­‐family  :  ChunkFive,  Helvetica,  Arial;  font-­‐size  :  10em;    text-­‐shadow  :  -­‐1px  -­‐1px  4px  rgb(0,0,0),                                  0        3px  3px  rgb(255,0,0); -­‐webkit-­‐text-­‐fill-­‐color  :  transparent;  } text-fill-color

Slide 49

Slide 49 text

 h1  {  font-­‐family  :  ChunkFive,  Helvetica,  Arial;  font-­‐size  :  10em;    text-­‐shadow  :  -­‐1px  -­‐1px  4px  rgb(0,0,0),                                  0        3px  3px  rgb(255,0,0); -­‐webkit-­‐text-­‐fill-­‐color  :  transparent; -­‐webkit-­‐text-­‐stroke  :  3px  rgba(0,0,0,.1);  } text-stroke

Slide 50

Slide 50 text

No content

Slide 51

Slide 51 text

No content

Slide 52

Slide 52 text

No content

Slide 53

Slide 53 text

No content

Slide 54

Slide 54 text

No content

Slide 55

Slide 55 text

AUTHORS HARDBOILED

Slide 56

Slide 56 text

No content

Slide 57

Slide 57 text

No content

Slide 58

Slide 58 text

hardboiled markup

Slide 59

Slide 59 text

.vcard  {  z-­‐index  :  1;  position  :  absolute;  width  :  300px;    height  :  195px;  } position : absolute

Slide 60

Slide 60 text

.vcard:nth-­‐of-­‐type(1)  {  /*  position  */  } .vcard:nth-­‐of-­‐type(2)  {  } .vcard:nth-­‐of-­‐type(3)  {  } .vcard:nth-­‐of-­‐type(4)  {  } .vcard:nth-­‐of-­‐type(5)  {  } .vcard:nth-­‐of-­‐type(6)  {  } .vcard:nth-­‐of-­‐type(7)  {  } .vcard:nth-­‐of-­‐type(8)  {  } .vcard:nth-­‐of-­‐type(9)  {  } n-th of type

Slide 61

Slide 61 text

NTH-CHILD? WHY NOT

Slide 62

Slide 62 text

No content

Slide 63

Slide 63 text

.vcard:nth-­‐of-­‐type(1)  {  background-­‐image  } .vcard:nth-­‐of-­‐type(2)  {  } .vcard:nth-­‐of-­‐type(3)  {  } .vcard:nth-­‐of-­‐type(4)  {  } .vcard:nth-­‐of-­‐type(5)  {  } .vcard:nth-­‐of-­‐type(6)  {  } .vcard:nth-­‐of-­‐type(7)  {  } .vcard:nth-­‐of-­‐type(8)  {  } .vcard:nth-­‐of-­‐type(9)  {  } n-th of type

Slide 64

Slide 64 text

No content

Slide 65

Slide 65 text

transform : rotate(30deg) Card design: Dennis Kardys — http://flickr.com/photos/14716132@N08/4260681317/

Slide 66

Slide 66 text

transform : translateX(20px)

Slide 67

Slide 67 text

transform : translateY(20px)

Slide 68

Slide 68 text

transform : translate(20px, 20px)

Slide 69

Slide 69 text

transform : scale(.5)

Slide 70

Slide 70 text

transform : scaleX(.5)

Slide 71

Slide 71 text

transform : scaleY(.5)

Slide 72

Slide 72 text

transform : skewX(30deg)

Slide 73

Slide 73 text

transform : skewY(30deg)

Slide 74

Slide 74 text

transform : skew(-15deg, -15deg)

Slide 75

Slide 75 text

transform-origin : 0 0 Card design: pixelflips — http://www.flickr.com/photos/pixelflips/4251019190/ transform-origin : left top

Slide 76

Slide 76 text

Card design: Peter Fransen — http://www.flickr.com/photos/30162209@N02/4258312990 transform-origin : 50% 0

Slide 77

Slide 77 text

100% 0 50% 50% 100% 50% 100% 100%

Slide 78

Slide 78 text

.vcard:nth-­‐child(odd)  {  transform  :  rotate(-­‐2deg);  } .vcard:nth-­‐of-­‐type(3n)  {  transform  :  rotate(2deg)  translateY(-­‐30px);  } .vcard:nth-­‐of-­‐type(4n)  {  transform  :  rotate(2deg);  } .vcard:nth-­‐of-­‐type(5n)  {  transform  :  rotate(90deg);  } transform

Slide 79

Slide 79 text

No content

Slide 80

Slide 80 text

No content

Slide 81

Slide 81 text

.vcard  {  transition-­‐property  :  all;  transition-­‐duration  :  .4s;  transition-­‐timing-­‐function  :  ease-­‐in-­‐out;  } .vcard:hover  {  transform  :  rotate(0deg)  scale(1.05);  transform-­‐origin  :  50%  50%;  } transition

Slide 82

Slide 82 text

background-color background-image background-position border-color border-spacing border-width bottom, top, right, left z-index color font-size font-weight height min-height max-height letter-spacing line-height margin padding opacity visibility text-indent text-shadow vertical-align width min-width max-width word-spacing transition properties

Slide 83

Slide 83 text

STORE HARDBOILED

Slide 84

Slide 84 text

No content

Slide 85

Slide 85 text

No content

Slide 86

Slide 86 text

hardboiled markup

Slide 87

Slide 87 text

The  Big  Sleep

Add  to  basket
classify items

Slide 88

Slide 88 text

.item  {  float  :  left;  margin  :  0  20px  60px  0;      width  :  220px;  height  :  330px;    } float : left

Slide 89

Slide 89 text

 img,   .description  {  position  :  absolute;    width  :  200px;  height  :  310px;  border  :  10px  solid  rgb(229,228,216);  } position : absolute

Slide 90

Slide 90 text

 img,   .description  {  position  :  absolute;    width  :  200px;  height  :  310px;  border  :  10px  solid  rgb(229,228,216);  border-­‐radius  :  10px;  } border : radius

Slide 91

Slide 91 text

 img,   .description  {  position  :  absolute;    width  :  200px;  height  :  310px;  border  :  10px  solid  rgb(229,228,216);  border-­‐radius  :  10px;  box-­‐shadow  :  0  1px  2px  rgba(0,0,0,.25);  } box-shadow

Slide 92

Slide 92 text

No content

Slide 93

Slide 93 text

.item  {  -­‐webkit-­‐perspective  :  400;    } perspective

Slide 94

Slide 94 text

.item  .inner  {  animation-­‐name  :  bookflip;  animation-­‐duration  :  2s;  animation-­‐iteration-­‐count  :  1;  animation-­‐timing-­‐function  :  ease-­‐in-­‐out;  } keyframe animation @keyframes  bookflip  { from  {  transform  :  rotateY(0deg);  } 50%  {  transform  :  rotateY(180deg);  } to  {  transform  :  rotateY(0deg);  }  }

Slide 95

Slide 95 text

No content

Slide 96

Slide 96 text

 img,   .description  {  position  :  static;  float  :  left;    } position : absolute

Slide 97

Slide 97 text

No content

Slide 98

Slide 98 text

No content

Slide 99

Slide 99 text

No content

Slide 100

Slide 100 text

No content

Slide 101

Slide 101 text

No content

Slide 102

Slide 102 text

No content

Slide 103

Slide 103 text

WHAT DOES BROWSER TESTING MEAN?

Slide 104

Slide 104 text

BROWSER TESTING! MEAN

Slide 105

Slide 105 text

NOW THAT’S HARDBOILED

Slide 106

Slide 106 text

-atsc- Advanced TV Standards Committee -khtml- Konqueror browser (and Safari 1) -ms- Microsoft -moz- Mozilla Foundation (Gecko browsers) -o- Opera Software -webkit- Safari (and WebKit browsers) -wap- The WAP Forum vendor prefixes

Slide 107

Slide 107 text

.vcard  {  -­‐moz-­‐transform  :  rotate(270deg);    -­‐o-­‐transform  :  rotate(270deg);    -­‐webkit-­‐transform  :  rotate(270deg);      transform  :  rotate(270deg);    } transform

Slide 108

Slide 108 text

.vcard  {  -­‐moz-­‐transform  :  rotate(-­‐90deg);    -­‐o-­‐transform  :  rotate(-­‐90deg);    -­‐webkit-­‐transform  :  rotate(-­‐90deg);      transform  :  rotate(-­‐90deg);  -­‐ms-­‐filter:  progid:DXImageTransform.Microsoft.↵  BasicImage(rotation=3);  } transform

Slide 109

Slide 109 text

JUST SAY NO TO MICROSOFT FILTERS

Slide 110

Slide 110 text

We can stop waiting around for browser makers to give us what we want and start using the advanced CSS we’ve been hearing about for years. The second is that the process of finding out which parts of the spec work in the real world, and which fall down, will be greatly accelerated. — Eric Meyer HE HAD MORE HAIR LAST TIME I SAW HIM “ ”

Slide 111

Slide 111 text

No content

Slide 112

Slide 112 text

No content

Slide 113

Slide 113 text

ie-css.js

Slide 114

Slide 114 text

jQuery MooTools DOM Assistant 2.7.4 DOM Assistant 2.8 beta Prototype 1.6.1 YUI 2.8.0 NMMatcher 1.20 selector engines

Slide 115

Slide 115 text

:nth-child :last-of-type :nth-last-child :empty :nth-of-type :enabled :first-child :disabled :last-child :checked :first-of-type ie-css.js enables

Slide 116

Slide 116 text

hardboiled markup

Slide 117

Slide 117 text

.vcard:nth-­‐of-­‐type(1)  {  /*  position  */  } .vcard:nth-­‐of-­‐type(2)  {  } .vcard:nth-­‐of-­‐type(3)  {  } .vcard:nth-­‐of-­‐type(4)  {  } .vcard:nth-­‐of-­‐type(5)  {  } .vcard:nth-­‐of-­‐type(6)  {  } .vcard:nth-­‐of-­‐type(7)  {  } .vcard:nth-­‐of-­‐type(8)  {  } .vcard:nth-­‐of-­‐type(9)  {  } n-th of type

Slide 118

Slide 118 text

No content

Slide 119

Slide 119 text

No content

Slide 120

Slide 120 text

No content

Slide 121

Slide 121 text

modernizr.js

Slide 122

Slide 122 text

@font-face HSLa CSS Animations RGBa CSS Columns Border radius CSS Gradients Border image CSS Reflections Box shadow CSS 2D Transforms Multiple backgrounds CSS 3D Transforms Opacity CSS Transitions (HTML5) modernizr properties

Slide 123

Slide 123 text

feature detection

Slide 124

Slide 124 text

feature detection

Slide 125

Slide 125 text

specificity .rgba  body  {  color  :  rgba(0,0,0,.8);  text-­‐shadow  :  0  -­‐1px  1px  rgba(255,255,255,.8);    } body  { color  :  rgb(0,0,0); text-­‐shadow  :  0  -­‐1px  1px  rgb(255,255,255);   }

Slide 126

Slide 126 text

descendant selectors .rgba  body  {  color  :  rgba(0,0,0,.8);  text-­‐shadow  :  0  -­‐1px  1px  rgba(255,255,255,.8);    } .no-­‐rgba  body  {  color  :  rgb(0,0,0);  text-­‐shadow  :  0  -­‐1px  1px  rgb(255,255,255);    }

Slide 127

Slide 127 text

descendant selectors .csstransforms  article  {  top  :  260px;    left  :  50%;    margin-­‐left  :  -­‐60px;    transform  :  skew(10deg,  -­‐15deg);    } .no-­‐csstransforms  article  {  top  :  300px;    left  :  50%;    margin-­‐left  :  -­‐300px;    }

Slide 128

Slide 128 text

No content

Slide 129

Slide 129 text

No content

Slide 130

Slide 130 text

No content

Slide 131

Slide 131 text

No content

Slide 132

Slide 132 text

No content

Slide 133

Slide 133 text

IGNORANCE IS BLISS

Slide 134

Slide 134 text

NOW THAT’S HARDBOILED

Slide 135

Slide 135 text

Available Autumn 2010

Slide 136

Slide 136 text

HARDBOILED WEB DESIGN ANDY CLARKE BY @malarkey @itshardboiled

Slide 137

Slide 137 text

No content