stage-fright
Yet another web-based presentation library
Markup
Markup is fairly straight-forward with an eye towards semantics. First, you set up the stage
, which is going to be where all slides are in.
…
Then, each grouping of slides (even if there is a single slide) is inside a stage group
…
Finally, each slide
is a section
inside the stage group
. Slides are made up of the actual slide, and an inner content
area
…
Inside of slides, you can have a fragment
which is a piece of content to be progressively revealed. When a fragment has been activated, it will get a data-active
attribute on it. By default, fragments fade in, but CSS can be used to change it to whatever is desired
This is a big bit of the slide This is a revealed talking point And this is another one And this is a third
Full Sample Markup
A basic example of this all in place looks something like this:
Sample Stage Fright Presentation <!-- Bring in the CSS from wherever it's been rendered --> <!-- Only the main section is needed for our slide deck --> <!-- First slide group, an introduction slide maybe --> Hello World! <!-- A second slide group --> <!-- The first slide in this group --> This is a Second Section <!-- The second slide in this group --> It has good content <!-- Fragments to be revealed as we go --> And some content That gets revealed As I talk <!-- Bring in the Stage Fright JS, defered for better performance -->
Attribution:
- Icons from International Business Machines Corporation under a Creative Commons Attribution 4.0 International License.
Based on a work at https://github.com/IBM-Design/icons