GithubHelp home page GithubHelp logo

gerhobbelt / bespoke-backdrop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bespokejs/bespoke-backdrop

0.0 1.0 0.0 132 KB

Backdrop elements for Bespoke.js

License: MIT License

JavaScript 79.29% HTML 8.22% CSS 12.48%

bespoke-backdrop's Introduction

Build Status Coverage Status

bespoke-backdrop

Backdrop elements for Bespoke.js

Automatically generate background elements that can be styled and animated indepedently of your slide content.

Classes specified in data-bespoke-backdrop attributes will be added to the list of classes that are provided by default.

Download

Download the production version or the development version, or use a package manager.

Usage

var bespoke = require('bespoke'),
  backdrop = require('bespoke-backdrop');

bespoke.from('#presentation', [
  backdrop()
]);

Then add data-bespoke-backdrop attributes to your slides.

<article>

  <section>
    No backdrop
  </section>

  <section data-bespoke-backdrop="special">
    Special backdrop
  </section>

  <section data-bespoke-backdrop="super special">
    Super special backdrop
  </section>

</article>

Not using CommonJS? View the full Bespoke.js plugin documentation.

Classes

The following classes are provided on the backdrop elements:

bespoke-backdrop Every backdrop element
bespoke-backdrop-active The active backdrop
bespoke-backdrop-inactive All inactive backdrops
bespoke-backdrop-before All backdrops before the active backdrop
bespoke-backdrop-after All backdrops after the active backdrop

Package managers

npm

$ npm install bespoke-backdrop

Bower

$ bower install bespoke-backdrop

Credits

This plugin was built with generator-bespokeplugin.

License

MIT License

bespoke-backdrop's People

Contributors

markdalgleish avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.