(*.)font.family = times h1.font.family = helvetica
The order of the two is irrelevant –
the more specific statements will override the more generalones.
–
Håkon Lie
Media Queries Selectors
speech.*.weight =35db speech.em.weight =40db
Presentation decisions based on the user’s environment;
e.g. the size of the screen or the currentdate.
–
Håkon Lie
AGE > 3d
? background.color = pale_yellow
: background.color = white
HTML documents should also be influenced
by the relevance of each document for each individualuser.
–
Håkon Lie
RELEVANCE > 80
? h1.font.size *= 1.5
Relative Units
/* h1.font.size *= 1.5 */ h1{font-size: 1.5em;}
Presented @WWW Conference 1995
by Håkon Lie&BertBos
Ended up in political discussions about the author-readerbalance.
–
Bert Bos
fast-forward 25 years…
The Modern Web
Applications
More Powerful&Complex
Web for all. Web oneverything.
–
World Wide Web Consortium,1989
It’s True…
“CSS is for documents”
“CSSThe Entire Web
is for documents”
The fact we can control a paper page
is really a limitation of thatmedium.
–
John Allsopp, 2000
The Web isUser-Centered
The Web isUser-Controlled
We Write
The Script&StageDirections
But
Every Performance is Unique
Do I want to create work in which everyone feels the same, or everyone feels differently? …Something in which there is room for the audience to move around, imagine, and makeassociations.
–
Anne Bogart
It takes craft to set up the circumstances that are simple and yet contain the ambiguities and the incongruity of humanexperience.
–
Anne Bogart
CSS is forHINTS&SUGGESTIONS
Design for The Unknown
Sizes, Interfaces, Preferences, Content, &c…
There are too many variables to consider.
The point of CSS is to make it so you don’t have to worry about them all.
Define some constraints.
Let the language work out thedetails.
–
Keith J Grant
CSS is Resilient…
A Progressive Enhancement
WWW parsers should ignore tags which they do not understand, and ignore attributes which they do not understand of tags which they dounderstand.