aboutsummaryrefslogtreecommitdiff
path: root/test/examples/slide-transitions.html
blob: 88119dc72f59535a54c5a711a4a6fc52241dfb86 (plain)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!doctype html>
<html lang="en">

	<head>
		<meta charset="utf-8">

		<title>reveal.js - Slide Transitions</title>

		<link rel="stylesheet" href="../../css/reveal.css">
		<link rel="stylesheet" href="../../css/theme/white.css" id="theme">
		<style type="text/css" media="screen">
			.slides section.has-dark-background,
			.slides section.has-dark-background h3 {
				color: #fff;
			}
			.slides section.has-light-background,
			.slides section.has-light-background h3 {
				color: #222;
			}
		</style>
	</head>

	<body>

		<div class="reveal">

			<div class="slides">

				<section>
					<h3>Default</h3>
				</section>

				<section>
					<h3>Default</h3>
				</section>

				<section data-transition="zoom">
					<h3>data-transition: zoom</h3>
				</section>

				<section data-transition="zoom-in fade-out">
					<h3>data-transition: zoom-in fade-out</h3>
				</section>

				<section>
					<h3>Default</h3>
				</section>

				<section data-transition="convex">
					<h3>data-transition: convex</h3>
				</section>

				<section data-transition="convex-in concave-out">
					<h3>data-transition: convex-in concave-out</h3>
				</section>

				<section>
					<section data-transition="zoom">
						<h3>Default</h3>
					</section>
					<section data-transition="concave">
						<h3>data-transition: concave</h3>
					</section>
					<section data-transition="convex-in fade-out">
						<h3>data-transition: convex-in fade-out</h3>
					</section>
					<section>
						<h3>Default</h3>
					</section>
				</section>

				<section data-transition="none">
					<h3>data-transition: none</h3>
				</section>

				<section>
					<h3>Default</h3>
				</section>

			</div>

		</div>

		<script src="../../lib/js/head.min.js"></script>
		<script src="../../js/reveal.js"></script>

		<script>

			Reveal.initialize({
				center: true,
				history: true,

				// transition: 'slide',
				// transitionSpeed: 'slow',
				// backgroundTransition: 'slide'
			});

		</script>

	</body>
</html>