diff options
author | Hakim El Hattab | 2013-09-15 14:48:54 -0400 |
---|---|---|
committer | Hakim El Hattab | 2013-09-15 14:48:54 -0400 |
commit | 347a907041563c038881bcfa83bb1ff77d558de6 (patch) | |
tree | ab488d709724dcab366ea5de84e6761e542f098a /README.md | |
parent | 2fc0dfa8e189a924a0ea77780e13537a02ff4e01 (diff) |
update code style to match rest of reveal.js, disable parallax by default #595
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -108,10 +108,10 @@ Reveal.initialize({ // Transition style for full page backgrounds backgroundTransition: 'default' // default/linear/none - + // Parallax background image parallaxBackgroundImage: '', // CSS syntax, e.g. "url('a.jpg')" - + // Parallax background size parallaxBackgroundSize: '', // CSS syntax, e.g. "3000px 2000px" @@ -307,13 +307,13 @@ If you want to use the parallax scrolling background, set the two following conf ```javascript Reveal.initialize({ - + // Parallax background image parallaxBackgroundImage: '', // CSS syntax, e.g. "url('a.jpg')" - + // Parallax background size parallaxBackgroundSize: '', // CSS syntax, e.g. "3000px 2000px" - currently only pixels are supported (don't use % or auto) - + // This slide transition gives best results: transition: linear |