0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Reveal.js | 要素への属性設定

Posted at

Reveal.js | 要素への属性設定

概要

Reveal.js における、要素への属性設定

スライドのページ内に配置した各要素に HTML のコメント内に設定を行うことで
属性を設定できます。

サンプルコード

fragment 属性を利用します。

		<div class="reveal">
			<div class="slides">
				<section data-markdown>
					<script type="text/template">
						## Use Fragment
						- Fragment 1 <!-- .element: class="fragment" data-fragment-index="2" -->
						- Fragment 2 <!-- .element: class="fragment" data-fragment-index="1" -->
					</script>
				</section>
			</div>
		</div>

動作確認

参照

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?