Petites corrections.
This commit is contained in:
parent
c8410de67c
commit
3de525ef52
|
@ -19,7 +19,7 @@ Pour faire des slides verticaux, il suffit d'englober plusieurs sections dans un
|
|||
</section>
|
||||
~~~
|
||||
|
||||
Pour intégrer une image en background sur un slide en particulier, il faut ajouter l'attribut data-background à la section :
|
||||
Pour intégrer image/gif en background sur un slide en particulier, il faut ajouter l'attribut data-background à la section :
|
||||
|
||||
~~~{.html}
|
||||
<section data-background="url-de-l-image.png">
|
||||
|
@ -30,6 +30,28 @@ Pour intégrer une image en background sur un slide en particulier, il faut ajou
|
|||
</section>
|
||||
~~~
|
||||
|
||||
Idem pour un background color :
|
||||
|
||||
~~~{.html}
|
||||
<section data-background="#87CBE7">
|
||||
<h2>A slide with a different background-color</h2>
|
||||
<p>
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
||||
</p>
|
||||
</section>
|
||||
~~~
|
||||
|
||||
Pour intégrer une video en background sur un slide en particulier, l'attribut a ajouter est data-background-video :
|
||||
|
||||
~~~{.html}
|
||||
<section data-background="url-de-la-video.webm">
|
||||
<h2>A slide with a video</h2>
|
||||
<p>
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
||||
</p>
|
||||
</section>
|
||||
~~~
|
||||
|
||||
On peut afficher du texte ou des images de façon fragmentée grâce à la class "fragment" :
|
||||
|
||||
~~~{.html}
|
||||
|
|
Loading…
Reference in a new issue