readme code type fix
parent
91a8c9b1e4
commit
9f6eb282be
|
@ -264,7 +264,7 @@ You can also add relative navigation links, similar to the built in reveal.js co
|
||||||
### Alternating transitions
|
### Alternating transitions
|
||||||
The global presentation transition is set using the ```transition``` config value. You can override the global transition for a specific slide by using the ```data-transition``` attribute:
|
The global presentation transition is set using the ```transition``` config value. You can override the global transition for a specific slide by using the ```data-transition``` attribute:
|
||||||
|
|
||||||
```javascript
|
```html
|
||||||
<section data-transition="zoom">
|
<section data-transition="zoom">
|
||||||
<h2>This slide will override the presentation transition and zoom!</h2>
|
<h2>This slide will override the presentation transition and zoom!</h2>
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Reference in New Issue