Add width, height variables to reveal.js.
This commit is contained in:
parent
da139313d2
commit
d104c53565
1 changed files with 9 additions and 0 deletions
|
@ -195,6 +195,15 @@ $endif$
|
|||
$if(parallaxBackgroundVertical)$
|
||||
parallaxBackgroundVertical: '$parallaxBackgroundVertical$',
|
||||
$endif$
|
||||
$if(width)$
|
||||
// The "normal" size of the presentation, aspect ratio will be preserved
|
||||
// when the presentation is scaled to fit different resolutions. Can be
|
||||
// specified using percentage units.
|
||||
width: $width$,
|
||||
$endif$
|
||||
$if(height)$
|
||||
height: $height$,
|
||||
$endif$
|
||||
$if(margin)$
|
||||
// Factor of the display size that should remain empty around the content
|
||||
margin: $margin$,
|
||||
|
|
Loading…
Reference in a new issue