Top Banner
Why CSS was invented Håkon Wium Lie [email protected]
81

Why CSS Was Invented (Håkon Wium Lie)

Jul 28, 2015

Download

Design

Future Insights
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Why CSS Was Invented (Håkon Wium Lie)

Why CSS was inventedHåkon Wium Lie

[email protected]

Page 2: Why CSS Was Invented (Håkon Wium Lie)
Page 3: Why CSS Was Invented (Håkon Wium Lie)
Page 4: Why CSS Was Invented (Håkon Wium Lie)
Page 5: Why CSS Was Invented (Håkon Wium Lie)
Page 6: Why CSS Was Invented (Håkon Wium Lie)
Page 7: Why CSS Was Invented (Håkon Wium Lie)
Page 8: Why CSS Was Invented (Håkon Wium Lie)
Page 9: Why CSS Was Invented (Håkon Wium Lie)

HTML<h1>Headline</h1>

• simple structure• universal semantics• media-independent• open standard

Page 10: Why CSS Was Invented (Håkon Wium Lie)
Page 11: Why CSS Was Invented (Håkon Wium Lie)
Page 12: Why CSS Was Invented (Håkon Wium Lie)

CSSh1 {

font-size: 14px;color: red;

}

• simple• presentational• media-dependent• open standard

Page 13: Why CSS Was Invented (Håkon Wium Lie)

HTML & CSS<h1>Headline</h1>

h1 {font-size: 14px;color: red;

}

• simple• open standards

Page 14: Why CSS Was Invented (Håkon Wium Lie)

CSS properties

Page 15: Why CSS Was Invented (Håkon Wium Lie)

Some text

Page 16: Why CSS Was Invented (Håkon Wium Lie)

font-size: 40px

font-size

Page 17: Why CSS Was Invented (Håkon Wium Lie)

font-style: italic

font-style

Page 18: Why CSS Was Invented (Håkon Wium Lie)

font-family: serif

font-family

Page 19: Why CSS Was Invented (Håkon Wium Lie)

background: #fe7

background

Page 20: Why CSS Was Invented (Håkon Wium Lie)

border: 0.1em solid black

border

Page 21: Why CSS Was Invented (Håkon Wium Lie)

border: 0.1em solid #486

border-color

Page 22: Why CSS Was Invented (Håkon Wium Lie)

border: 0.1em dotted #486

border-style

Page 23: Why CSS Was Invented (Håkon Wium Lie)

border: 0.3em inset #46F

border-width

Page 24: Why CSS Was Invented (Håkon Wium Lie)

border: 0.5em outset #F46

border-width

Page 25: Why CSS Was Invented (Håkon Wium Lie)

text-shadow: 10px 10px black

text-shadow

Page 26: Why CSS Was Invented (Håkon Wium Lie)

text-shadow: 5px 5px 5px #F79

text-shadow

Page 27: Why CSS Was Invented (Håkon Wium Lie)

text-shadow: 0px 0px 20px orange; color:white

text-shadow

Page 28: Why CSS Was Invented (Håkon Wium Lie)

CSS3

Page 29: Why CSS Was Invented (Håkon Wium Lie)

border-radius: 40px

border-radius

Page 30: Why CSS Was Invented (Håkon Wium Lie)
Page 31: Why CSS Was Invented (Håkon Wium Lie)
Page 32: Why CSS Was Invented (Håkon Wium Lie)
Page 33: Why CSS Was Invented (Håkon Wium Lie)

border-radius: 40px

border-radius

Page 34: Why CSS Was Invented (Håkon Wium Lie)

border-radius: 150px / 50px

border-radius

Page 35: Why CSS Was Invented (Håkon Wium Lie)

border-radius: 60px 0 / 60px 0;

border-radius

Page 36: Why CSS Was Invented (Håkon Wium Lie)

CSS3 transitions

Page 37: Why CSS Was Invented (Håkon Wium Lie)

<img src=coat-of-arm.svg>img { transition: 1s }img:hover { transform: rotate(-360deg) }

Page 38: Why CSS Was Invented (Håkon Wium Lie)

Webfonts

Page 39: Why CSS Was Invented (Håkon Wium Lie)

Microsoft's Core fonts

Andale Mono ArialComic Sans MSCourier New GeorgiaImpact Times New RomanTrebuchet MS Verdana

Page 40: Why CSS Was Invented (Håkon Wium Lie)

@import url(http://www.princexml.com/fonts/steffmann/index.css);font-family: Angel

Angel

Page 41: Why CSS Was Invented (Håkon Wium Lie)

font-family: Becker Inline

Becker Inline

Page 42: Why CSS Was Invented (Håkon Wium Lie)

font-family: Broadcast Titling

BroadcastTitling

Page 43: Why CSS Was Invented (Håkon Wium Lie)

font-family: Cardiff

Cardiff

Page 44: Why CSS Was Invented (Håkon Wium Lie)

font-family: Direction

Direction

Page 45: Why CSS Was Invented (Håkon Wium Lie)

From: "Siebrand Mazeland (WMF)" <[email protected]>Date: Wed, 14 Dec 2011 18:49:19 +0100Sender: [email protected]: [email protected], [email protected]: [Wikitech-l] Report on WebFonts deployment

On Monday December 12 at 18:00 UTC we deployed the extensionWebFonts[1] to 40 wikis in 11 Indic languages and Wikimedia Incubator-- all wikis in Assamese, Bengali, Gujarati, Hindi, Kannada, Marathi,Nepali, Oriya, (Eastern) Punjabi, Sankrit and Telugu have WebFontsnow. WebFonts was not deployed on Malayalam and Tamil projects. Thereason for this was that community members had requested us not to. Weare confident that in time, the communities will request that WebFontsis enabled on their projects.

Page 46: Why CSS Was Invented (Håkon Wium Lie)
Page 47: Why CSS Was Invented (Håkon Wium Lie)

Testing

Page 48: Why CSS Was Invented (Håkon Wium Lie)
Page 49: Why CSS Was Invented (Håkon Wium Lie)
Page 50: Why CSS Was Invented (Håkon Wium Lie)
Page 51: Why CSS Was Invented (Håkon Wium Lie)
Page 52: Why CSS Was Invented (Håkon Wium Lie)
Page 53: Why CSS Was Invented (Håkon Wium Lie)
Page 54: Why CSS Was Invented (Håkon Wium Lie)
Page 55: Why CSS Was Invented (Håkon Wium Lie)

Opera

Page 56: Why CSS Was Invented (Håkon Wium Lie)
Page 57: Why CSS Was Invented (Håkon Wium Lie)
Page 58: Why CSS Was Invented (Håkon Wium Lie)
Page 59: Why CSS Was Invented (Håkon Wium Lie)
Page 60: Why CSS Was Invented (Håkon Wium Lie)
Page 61: Why CSS Was Invented (Håkon Wium Lie)
Page 62: Why CSS Was Invented (Håkon Wium Lie)

Apps

Page 63: Why CSS Was Invented (Håkon Wium Lie)
Page 64: Why CSS Was Invented (Håkon Wium Lie)
Page 65: Why CSS Was Invented (Håkon Wium Lie)
Page 66: Why CSS Was Invented (Håkon Wium Lie)

Multicolumn layout

Page 67: Why CSS Was Invented (Håkon Wium Lie)
Page 68: Why CSS Was Invented (Håkon Wium Lie)
Page 69: Why CSS Was Invented (Håkon Wium Lie)
Page 70: Why CSS Was Invented (Håkon Wium Lie)

Books

Page 71: Why CSS Was Invented (Håkon Wium Lie)
Page 72: Why CSS Was Invented (Håkon Wium Lie)
Page 73: Why CSS Was Invented (Håkon Wium Lie)
Page 74: Why CSS Was Invented (Håkon Wium Lie)
Page 75: Why CSS Was Invented (Håkon Wium Lie)

body {font: 14pt / 1.4 "Adobe Caslon Pro", serif;font-variant: opentype(dlig, onum);hyphens: auto;text-replace:

"s" "\017F" /* replace s with long s, which looks like f */"\017Ff" "sf" /* revert change where s appears before f */"\017Fi" "si" /* revert change where s appears before i */"\017F\20" "s\20" /* revert change at end of word */"\017F\0A" "s\20" /* revert change at end of word, where newline follows */"\017F\200B" "s\20" /* revert change at end of word, where zero width space follows */"\017F," "s," /* revert change at end of word, where comma follows */"\017F;" "s;" /* revert change at end of word, where semicolon follow */"\017F:" "s:" /* revert change at end of word, where colon follows */"\017F." "s." /* revert change at end of word, where period follows */":" "\2008:"; /* add punctuation space before colon */

}

Page 76: Why CSS Was Invented (Håkon Wium Lie)
Page 77: Why CSS Was Invented (Håkon Wium Lie)

How long will the web last?

Page 78: Why CSS Was Invented (Håkon Wium Lie)

500 years!

Page 79: Why CSS Was Invented (Håkon Wium Lie)
Page 80: Why CSS Was Invented (Håkon Wium Lie)
Page 81: Why CSS Was Invented (Håkon Wium Lie)