-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.pug
42 lines (34 loc) · 1.24 KB
/
index.pug
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// output:index.html
doctype html
html(lang="es")
head
// Metadatos
title Título de página
meta(charset="utf-8")
meta(name="viewport", content="width=1024")
meta(name="description", content="Descripción")
meta(name="author", content="Nombre del autor")
// Relaciones
link(rel="stylesheet", href="css/impress.base.min.css")
link(rel="stylesheet", href="css/darkgrey.theme.min.css")
link(rel="icon", href="favicon.png")
body
// Fallback (navegadores no compatibles)
div.fallback-message
p Tu navegador <b>no soporta HTML5</b>. Para una mejor experiencia, por favor, utiliza un navegador moderno compatible con HTML5.
// Comenzamos impress.js
div#impress
div#slide1.step.slide(data-x="-1000", data-y="-1500")
q Un texto de ejemplo del primer slide.
div#slide2.step.slide(data-x="0", data-y="-1500")
q Otro texto de ejemplo del slide 2.
div#titulo.step(data-x="0" data-y="0" data-scale="2")
p Otro ejemplo para el slide 3.
h1 impress.js
div#overview.step(data-x="3000", data-y="1500", data-scale="10")
// Sugerencia inicial
div.hint
p Pulsa <kbd>espacio</kbd> o <kbd>→</kbd> para avanzar.
script(src="js/impress.min.js")
script.
impress().init();