From 347a907041563c038881bcfa83bb1ff77d558de6 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Sun, 15 Sep 2013 14:48:54 -0400 Subject: update code style to match rest of reveal.js, disable parallax by default #595 --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 03ec635..337ee60 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.3