-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
38 lines (33 loc) · 1.38 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<title>NarrowBandImage</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="./css/narrow-band-image.css">
</head>
<body>
<div>
<p>画像をじわじわ表示します。ナローバンドの如く。</p>
<p class="narrow-band-image">
<img src="./image/sample.jpg" />
</p>
<h3>使い方</h3>
<h4>1. narrow-band-image.cssを読み込む</h4>
<link type="text/css" href="css/narrow-band-image.css" rel="stylesheet">
<h4>2. narrow-band-image.jsを読み込む</h4>
<script src="js/narrow-band-image.js"></script>
<h4>3. ゆっくり表示させたい画像をこんな感じで設定(pタグにnarrow-band-imageクラスを付けて、その中にimgタグをセット)</h4>
<p class="narrow-band-image">
<br> <img src="image/test.jpg">
<br> </p>
<h4>4. ブラウザでページを表示すると、画像がじわじわ表示されるので、PCの前で小躍りする</h4>
<br>
<br>活用方法は各自考えてください。
<br>
<a href="https://github.com/de-teiu/narrowbandimage">GitHub</a>からダウンロードできます。
<script src="./js/narrow-band-image.js"></script>
</div>
</body>
</html>