summaryrefslogtreecommitdiff
path: root/2024-06-18-guix-social/reveal.js/examples/transitions.html
blob: adbfd150e722603a0a2942e4e7cf4d9ebfa6c48d (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
<!doctype html>
<html lang="en">

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

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

		<link rel="stylesheet" href="../dist/reveal.css">
		<link rel="stylesheet" href="../dist/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="../dist/reveal.js"></script>
		<script>
			Reveal.initialize({
				center: true,
				history: true,

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

	</body>
</html>