Slide 1

Slide 1 text

@trentwalton GET YOUR HANDS DIRTY

Slide 2

Slide 2 text

A bit about myself… HOWDY!

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

Typographically, at least… MY BACKSTORY

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

No content

Slide 17

Slide 17 text

body{ font-family:serif,"or-whatever"; }

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

@font-face{ font-family:"options!"; }

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

As web typography improves, web designers want the same level of control print designers have.

Slide 22

Slide 22 text

But what does that mean?

Slide 23

Slide 23 text

I want to use these…

Slide 24

Slide 24 text

not just these.

Slide 25

Slide 25 text

And put all this…

Slide 26

Slide 26 text

into this.

Slide 27

Slide 27 text

No content

Slide 28

Slide 28 text

TYPE + CSS

Slide 29

Slide 29 text

THE BASICS .something{ font-size:1em; line-height:1.5px; font-style:italic; font-weight:bold; text-decoration:none; direction:ltr; font-variant:small-caps; text-indent:0.5em; text-transform:none; text-align:left; letter-spacing:0.1em; word-spacing:0.1em; }

Slide 30

Slide 30 text

LET’S SET SOME TYPE!

Slide 31

Slide 31 text

CSS & web safe fonts What can be achieved with the basics The growing prominence of web fonts seems to have boosted web designers’ interest in typography. Visual interest can be achieved with these CSS properties & core typographic principals.

Slide 32

Slide 32 text

CSS & web safe fonts What can be achieved with the basics The growing prominence of web fonts seems to have boosted web designers’ interest in typography. Visual interest can be achieved with these CSS properties & core typographic principals. font-family:georgia, serif;

Slide 33

Slide 33 text

CSS & web safe fonts What can be achieved with the basics The growing prominence of web fonts seems to have boosted web designers’ interest in typography. Visual interest can be achieved with these CSS properties & core typographic principals. font-size:60px;

Slide 34

Slide 34 text

CSS & WEB SAFE FONTS What can be achieved with the basics The growing prominence of web fonts seems to have boosted web designers’ interest in typography. Visual interest can be achieved with these CSS properties & core typographic principals. text-transform:uppercase;

Slide 35

Slide 35 text

CSS & WEB SAFE FONTS What can be achieved with the basics The growing prominence of web fonts seems to have boosted web designers’ interest in typography. Visual interest can be achieved with these CSS properties & core typographic principals. letter-spacing:2px;

Slide 36

Slide 36 text

CSS & WEB SAFE FONTS What can be achieved with the basics The growing prominence of web fonts seems to have boosted web designers’ interest in typography. Visual interest can be achieved with these CSS properties & core typographic principals. color:#ee4938;

Slide 37

Slide 37 text

CSS & WEB SAFE FONTS What can be achieved with the basics The growing prominence of web fonts seems to have boosted web designers’ interest in typography. Visual interest can be achieved with these CSS properties & core typographic principals. font-style:italic;

Slide 38

Slide 38 text

CSS & WEB SAFE FONTS What can be achieved with the basics The growing prominence of web fonts seems to have boosted web designers’ interest in typography. Visual interest can be achieved with these CSS properties & core typographic principals. text-align:center;

Slide 39

Slide 39 text

CSS & WEB SAFE FONTS What can be achieved with the basics The growing prominence of web fonts seems to have boosted web designers’ interest in typography. Visual interest can be achieved with these CSS properties & core typographic principals. line-height:1.4; /* wraps up */

Slide 40

Slide 40 text

CSS & web safe fonts What can be achieved with the basics The growing prominence of web fonts seems to have boosted web designers’ interest in typography. Visual interest can be achieved with these CSS properties & core typographic principals. Before...

Slide 41

Slide 41 text

CSS & WEB SAFE FONTS What can be achieved with the basics The growing prominence of web fonts seems to have boosted web designers’ interest in typography. Visual interest can be achieved with these CSS properties & core typographic principals. After.

Slide 42

Slide 42 text

NEWER STUFF Text Shadow(s) HSLA / RGBA Color Transforms Pseudo Class Selectors *Text Stroke *Image Mask *Background Clip

Slide 43

Slide 43 text

Using these properties is the easy part. BE THOUGHTFUL

Slide 44

Slide 44 text

No content

Slide 45

Slide 45 text

bit.ly/17ycGiR

Slide 46

Slide 46 text

No content

Slide 47

Slide 47 text

TEXT SHADOW .something{ text-shadow: x,y,blur,color; }

Slide 48

Slide 48 text

TEXT SHADOW .something{ text-shadow: 10px 10px 0 #b03136; }

Slide 49

Slide 49 text

No content

Slide 50

Slide 50 text

No content

Slide 51

Slide 51 text

No content

Slide 52

Slide 52 text

TEXT SHADOWS .something{ text-shadow: x,y,blur,color, x,y,blur,color, x,y,blur,color, x,y,blur,color; }

Slide 53

Slide 53 text

No content

Slide 54

Slide 54 text

No content

Slide 55

Slide 55 text

No content

Slide 56

Slide 56 text

No content

Slide 57

Slide 57 text

No content

Slide 58

Slide 58 text

RGBA & HSLA .something{ color: rgba(241,242,233,0.6); }

Slide 59

Slide 59 text

No content

Slide 60

Slide 60 text

No content

Slide 61

Slide 61 text

No content

Slide 62

Slide 62 text

No content

Slide 63

Slide 63 text

TRANSFORM: ROTATE .something{ transform: rotate(-45deg); }

Slide 64

Slide 64 text

No content

Slide 65

Slide 65 text

No content

Slide 66

Slide 66 text

No content

Slide 67

Slide 67 text

No content

Slide 68

Slide 68 text

No content

Slide 69

Slide 69 text

No content

Slide 70

Slide 70 text

TRANSFORM: SKEW .something{ transform: skewY(-12deg); }

Slide 71

Slide 71 text

No content

Slide 72

Slide 72 text

No content

Slide 73

Slide 73 text

No content

Slide 74

Slide 74 text

TEXT STROKE .something{ -webkit-text-stroke-width: 1px; -webkit-text-stroke-color: #f1f2e9; } * -webkit only

Slide 75

Slide 75 text

No content

Slide 76

Slide 76 text

No content

Slide 77

Slide 77 text

No content

Slide 78

Slide 78 text

No content

Slide 79

Slide 79 text

FAKE TEXT STROKE .something{ text-shadow: 1px 1px 0 #b03136, -1px -1px 0 #b03136, -1px 1px 0 #b03136, 1px -1px 0 #b03136; }

Slide 80

Slide 80 text

No content

Slide 81

Slide 81 text

No content

Slide 82

Slide 82 text

No content

Slide 83

Slide 83 text

BACKGROUND CLIP .something{ background:url(img.png); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } * partial -webkit only

Slide 84

Slide 84 text

No content

Slide 85

Slide 85 text

No content

Slide 86

Slide 86 text

BACKGROUND CLIP .something{ background: -webkit-linear-gradient(transparent, transparent),url(img.png); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } * partial -webkit only

Slide 87

Slide 87 text

No content

Slide 88

Slide 88 text

No content

Slide 89

Slide 89 text

MASK IMAGE .something{ -webkit-mask-image:url(img.png); } * partial -webkit only

Slide 90

Slide 90 text

No content

Slide 91

Slide 91 text

No content

Slide 92

Slide 92 text

No content

Slide 93

Slide 93 text

No content

Slide 94

Slide 94 text

Controlling Web Typography TARGETING TYPE

Slide 95

Slide 95 text

PSEUDO CLASS SELECTORS :hover :link :visited :active :focus :target :enabled :checked :indeterminate

Slide 96

Slide 96 text

PSEUDO CLASS SELECTORS :first-letter :first-line :before :after :first-child :last-child :nth-child :nth-of-type :first-of-type :last-of-type

Slide 97

Slide 97 text

No content

Slide 98

Slide 98 text

:FIRST-LETTER h1:first-letter{ something:anything; }

Slide 99

Slide 99 text

No content

Slide 100

Slide 100 text

No content

Slide 101

Slide 101 text

:FIRST-LINE h1:first-line{ something:anything; }

Slide 102

Slide 102 text

No content

Slide 103

Slide 103 text

No content

Slide 104

Slide 104 text

:BEFORE h1:before{ content:‘this text is’; something:anything; }

Slide 105

Slide 105 text

No content

Slide 106

Slide 106 text

No content

Slide 107

Slide 107 text

:AFTER h1:after{ content:‘this text is’; something:anything; }

Slide 108

Slide 108 text

No content

Slide 109

Slide 109 text

No content

Slide 110

Slide 110 text

.something:after{ content: ‘CSS Three’; }

Slide 111

Slide 111 text

A BETTER WAY TO LAYER TYPE

Slide 112

Slide 112 text

No content

Slide 113

Slide 113 text

I recommend using a data-attribute on the h1 to keep duplicate content out of the way of screen readers and to keep search engines happy. —Brandon Durham

Slide 114

Slide 114 text

No content

Slide 115

Slide 115 text

No content

Slide 116

Slide 116 text

No content

Slide 117

Slide 117 text

layered

Slide 118

Slide 118 text

.h1{ font-family:'Cyclone Background A'…; } .h1:after{ content: attr(data-highlight); font-family:'Cyclone Inline A'…; position: absolute; left: 0; right: 0; top: 0; }

Slide 119

Slide 119 text

No content

Slide 120

Slide 120 text

No content

Slide 121

Slide 121 text

No content

Slide 122

Slide 122 text

PSEUDO CLASS SELECTORS ✓:first-letter ✓:first-line ✓:before ✓:after :first-child :last-child :nth-child :nth-of-type :first-of-type :last-of-type

Slide 123

Slide 123 text

CSS Tricks for everything I DON’T REMEMBER THIS STUFF

Slide 124

Slide 124 text

No content

Slide 125

Slide 125 text

IE9 + WOFF LOST WORLD’S FAIRS

Slide 126

Slide 126 text

No content

Slide 127

Slide 127 text

No content

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

No content

Slide 134

Slide 134 text

No content

Slide 135

Slide 135 text

Pseudo class selectors weren’t enough. WE NEEDED MORE CONTROL

Slide 136

Slide 136 text

No content

Slide 137

Slide 137 text

No content

Slide 138

Slide 138 text

$(“h1”).lettering(); $(“h1”).lettering(‘words’); $(“h1”).lettering(‘lines’);

Slide 139

Slide 139 text

h1 span:nth-child(even){ color:#b03136; }

Slide 140

Slide 140 text

No content

Slide 141

Slide 141 text

No content

Slide 142

Slide 142 text

No content

Slide 143

Slide 143 text

e Moon LETTERS

Slide 144

Slide 144 text

No content

Slide 145

Slide 145 text

O n w a r d &

Slide 146

Slide 146 text

No content

Slide 147

Slide 147 text

El Dorado WORDS

Slide 148

Slide 148 text

No content

Slide 149

Slide 149 text

  • Discover & learn new cultures and vistas
  • Slide 150

    Slide 150 text

    No content

    Slide 151

    Slide 151 text

    Atlantis LINES

    Slide 152

    Slide 152 text

    No content

    Slide 153

    Slide 153 text

    Hello! Gills or Lungs Come as you are!All welcome

    Slide 154

    Slide 154 text

    No content

    Slide 155

    Slide 155 text

    People kicked ass with this stuff… IN THE WILD

    Slide 156

    Slide 156 text

    No content

    Slide 157

    Slide 157 text

    No content

    Slide 158

    Slide 158 text

    No content

    Slide 159

    Slide 159 text

    No content

    Slide 160

    Slide 160 text

    No content

    Slide 161

    Slide 161 text

    No content

    Slide 162

    Slide 162 text

    No content

    Slide 163

    Slide 163 text

    No content

    Slide 164

    Slide 164 text

    Blogs & Side Projects FURTHER EXPLORATION

    Slide 165

    Slide 165 text

    No content

    Slide 166

    Slide 166 text

    No content

    Slide 167

    Slide 167 text

    No content

    Slide 168

    Slide 168 text

    WHAT ABOUT RWD?

    Slide 169

    Slide 169 text

    inking along the ‘touch’ theme you brought up, I’d be really interested to see how this design could be enhanced even further still using the responsive web design approach to building. Elliot Jay Stocks June 22, 2010

    Slide 170

    Slide 170 text

    No content

    Slide 171

    Slide 171 text

    No content

    Slide 172

    Slide 172 text

    No content

    Slide 173

    Slide 173 text

    No content

    Slide 174

    Slide 174 text

    No content

    Slide 175

    Slide 175 text

    No content

    Slide 176

    Slide 176 text

    No content

    Slide 177

    Slide 177 text

    Even More Control OPENTYPE!

    Slide 178

    Slide 178 text

    No content

    Slide 179

    Slide 179 text

    No content

    Slide 180

    Slide 180 text

    No content

    Slide 181

    Slide 181 text

    No content

    Slide 182

    Slide 182 text

    No content

    Slide 183

    Slide 183 text

    COMMON LIGATURES .something{ font-feature-settings:"liga" 1; }

    Slide 184

    Slide 184 text

    No content

    Slide 185

    Slide 185 text

    No content

    Slide 186

    Slide 186 text

    bit.ly/17ycGiR DOWNLOAD THE DEMO

    Slide 187

    Slide 187 text

    No content

    Slide 188

    Slide 188 text

    No content

    Slide 189

    Slide 189 text

    @trentwalton THANKS!

    Slide 190

    Slide 190 text

    No content