Reputation: 11
Deck.js works fine when I'm using
<body class="deck-container"><section>
...but it is not working for other elements like divs or <article> etc. However, on the homepage of Deck.js -- http://imakewebthings.com/deck.js/ -- they are using <article class="deck-container">.
It might be just a small adjustment needed to the JS code. But I can't find any help in the docs.
It would be very nice if someone could help me out here!
Upvotes: 1
Views: 296
Reputation: 320
The style should be redefined, add this css block and then you can avoid the body class :
<head>
<style type="text/css">
.deck-container {
width: auto;
max-width: 864px;
min-height: 560px;
font-size: 16px;
}
</style>
</head>
Upvotes: 1