hakimel/reveal.js — pull request #192 by x3ro (2012-10-18 21:13:54+00:00)
Title: Add proof of concept for CSS fragments

This was suggested by a friend of mine today, and I tried to implement it.
What do you think of it? I'm ready for criticism :smile_cat:

Preview: [On the first slide](http://x3ro.github.com/reveal.js/)

### Commit message

Using CSS fragments, one can add or remove CSS classes using the same
mechanism as when adding step-by-step content. In addition to the
"fragment" class, one needs to add a "css-fragment" class as well as a
"data-target" attribute which specifies the target for the css class
addition or removal.
The latter are specified using "data-add-class" and "data-remove-class".