CSSOM – CSS Variables, Nesting & Modules

This excites me, some proposals for CSSOM (better CSS value access from the DOM), variables, modules and nesting. This means you’ll be able to do stuff like this:

@var header-color color #006;
@var main-color color #06c;
@var secondary-color color #c06;
a { color: var(main-color); }
a:visited { color: var(secondary-color); }
h1 { 
  color: var(header-color);
  background: linear-gradient(left,var(main-color), transparent 25%);
}

See the full presentation here: http://www.xanthir.com/talks/2011-01-12/slides.html

Tip: use the arrow keys to navigate..

via Tab Atkins Jr. member of the CSS3 working group.

BarCamp Brighton 5: Building Brilliant APIs

Building Brilliant APIs - that bloody work

Building Brilliant APIs on SlideShare

As promised, here are the slides from mine and @fry15‘s talk at BarCamp Brighton 5, 03/10/2010:

License: http://creativecommons.org/licenses/by/2.0/uk/