readme update
This commit is contained in:
		
							
								
								
									
										17
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										17
									
								
								README.md
									
									
									
									
									
								
							| @@ -107,14 +107,6 @@ Reveal.initialize({ | ||||
|  | ||||
| Note that the new default vertical centering option will break compatibility with slides that were using transitions with backgrounds (`cube` and `page`). To restore the previous behavior, set `center` to `false`. | ||||
|  | ||||
| You can specify a transition to and from a specific slide by using the ```data-transition``` attribute: | ||||
|  | ||||
| ```javascript | ||||
| <section data-transition="zoom"> | ||||
| 	<h2>This slide will override the presentation transition and zoom!</h2> | ||||
| </section> | ||||
| ``` | ||||
|  | ||||
|  | ||||
| The configuration can be updated after initialization using the ```configure``` method: | ||||
|  | ||||
| @@ -269,6 +261,15 @@ You can also add relative navigation links, similar to the built in reveal.js co | ||||
| <a href="#" class="navigate-next"> <!-- Next vertical or horizontal slide --> | ||||
| ``` | ||||
|  | ||||
| ### 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: | ||||
|  | ||||
| ```javascript | ||||
| <section data-transition="zoom"> | ||||
| 	<h2>This slide will override the presentation transition and zoom!</h2> | ||||
| </section> | ||||
| ``` | ||||
|  | ||||
|  | ||||
| ### Fragments | ||||
| Fragments are used to highlight individual elements on a slide. Every elmement with the class ```fragment``` will be stepped through before moving on to the next slide. Here's an example: http://lab.hakim.se/reveal-js/#/16 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user