Getting Started with deck.js

How to Make a Deck

  1. Write Slides

    Slide content is simple HTML.
  2. Choose Themes

    One for slide styles and one for deck transitions.
  3. Include Extensions

    Add extra functionality to your deck, or leave it stripped down.

Slides are just HTML elements with a class of slide.

<section class="slide">
  <h2>How to Make a Deck</h2>
      <h3>Write Slides</h3>
      <p>Slide content is simple HTML.</p>
      <h3>Choose Themes</h3>
      <p>One for slide styles and one for deck transitions.</p>

Style Themes

Customizes the colors, typography, and layout of slide content.

<link rel="stylesheet" href="/path/to/css/style-theme.css">

Transition Themes

Defines transitions between slides using CSS3 transitions. Less capable browsers fall back to cutaways. But you aren’t using those browsers to give your presentations, are you…

<link rel="stylesheet" href="/path/to/css/transition-theme.css">


Core gives you basic slide functionality with left and right arrow navigation, but you may want more. Here are the ones included in this deck:

Each extension folder in the download package contains the necessary JavaScript, CSS, and HTML files. For a complete list of extension modules included in deck.js, check out the documentation.




Block Quotes

Food is an important part of a balanced diet

Fran Lebowitz

> Food is an important part of a balanced diet

> <cite>Fran Lebowitz</cite>

Video Embeds

Embed videos from your favorite online video service or with an HTML5 video element

<iframe width="400" height="225" frameborder="0"
  src=";byline=0&amp;portrait=0" >