Skip to content

Commit 8dbcb71

Browse files
committed
add
1 parent 8c32b19 commit 8dbcb71

File tree

1 file changed

+32
-33
lines changed

1 file changed

+32
-33
lines changed

demo1.html

Lines changed: 32 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,35 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8" />
5-
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>Document</title>
8-
<link rel="stylesheet" href="./dist/reveal.css" />
9-
</head>
10-
<body>
11-
<div class="reveal">
12-
<div class="slides">
13-
<section>Slide 1</section>
14-
<section>Slide 2</section>
15-
<section>Horizontal Slide</section>
16-
<section>
17-
<section>Vertical Slide 1</section>
18-
<section>Vertical Slide 2</section>
19-
</section>
20-
</div>
21-
<div class="slides">
22-
<section>Slide 1</section>
23-
<section>Slide 2</section>
24-
<section>Horizontal Slide</section>
25-
<section>
26-
<section>Vertical Slide 1</section>
27-
<section>Vertical Slide 2</section>
28-
</section>
29-
</div>
3+
4+
<head>
5+
<meta charset="UTF-8" />
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8+
<title>Document</title>
9+
<link rel="stylesheet" href="./dist/reveal.css" />
10+
<link rel="stylesheet" href="./dist/theme/black.css">
11+
</head>
12+
13+
<body>
14+
<div class="reveal">
15+
<div class="slides">
16+
<section>
17+
<h2>我是第一页</h2>
18+
</section>
19+
<section data-background-color="aquamarine">
20+
<h2>我是第二页</h2>
21+
</section>
22+
<section data-background-color="rgb(70, 70, 255)">
23+
<h2>我是第三页</h2>
24+
</section>
3025
</div>
31-
<script src="./dist/reveal.js"></script>
32-
<script>
33-
Reveal.initialize();
34-
</script>
35-
</body>
36-
</html>
26+
</div>
27+
<script src="./dist/reveal.js"></script>
28+
<script>
29+
Reveal.initialize({
30+
plugins: []
31+
});
32+
</script>
33+
</body>
34+
35+
</html>

0 commit comments

Comments
 (0)