Wendee Fiorillo / @thewendee
My name is Wendee. I like to make things.


gives you a solid foundation
ensures content reaches the user
enhances the content

The 90's and early 00's the web was becoming an unruly beast.
There were no rules
No formal training
Sites were "Best Viewed in..."
JS was becoming a bastard
Our content was cluttered with garbage
There were no rules Only a small few followed rules
No formal training
Sites were "Best Viewed in..."
JS was becoming a bastard
Our content was clutters with garbage

Reference: http://gizmodo.com/5960831/23-ancient-web-sites-that-are-still-alive

Table layout, images as content, framesets

Actually not too bad, just really old.




CSS was introduced
Web Accessibility Initiative (WAI) got under away
XHTML taught us be "well formed"
people began to care about web standards

defining patterns
creating snippets
establishing a process
content was getting semantic



HURRAY!

gives content meaning
creates relationships between content
readable by humans and machines
built-in functionality
Content Hierarchy

Content Hierarchy

Built-in Function

Built-in Function
No JavaScript used here. Just HTML
New <input type="date">
Built-in Function

w3.org/html/wg/drafts/html/master/





plan before development
use semantic markup
use WAI-ARIA Landmark roles
start with a solid foundation
apply CSS in layers
abstract out common styles
organize CSS and files
make classes and IDs readable and meaningful
tell a story
be consistent
separate layout from modular styles
make styles additive
leverage the cascade
use separate classes for presentation and function
identify patterns
use or define a naming convention
break CSS out in logical groups



use comments in CSS files
maintain document order
define a property order
take the time to read the css
be open to refactoring
know when to break from pattern
it's ok to break the rules