質問編集履歴

1

プログラムの追加

2019/11/25 08:10

投稿

ponikt
ponikt

スコア4

test CHANGED
File without changes
test CHANGED
@@ -25,3 +25,25 @@
25
25
  うまく固定できなかったり、両方とも動いてしまいます。
26
26
 
27
27
  どのように分けたら良いでしょうか?
28
+
29
+
30
+
31
+ ###■プログラム
32
+
33
+ <div class="bottom">
34
+
35
+ <img src="https://ishi-official.com/images/skindation/ia/hige/jikkan.png" alt="お急ぎください!在庫が少なくなっております">
36
+
37
+ </div>
38
+
39
+ <script src="https://unpkg.com/scrollreveal/dist/scrollreveal.min.js"></script>
40
+
41
+ <script>
42
+
43
+ window.sr = ScrollReveal({ reset: true ,mobile: true});
44
+
45
+ sr.reveal( '.bottom', { origin: 'bottom' , distance: '30%', duration: 1000 , scale: 1.0, delay :200 ,opacity: 0.5,});
46
+
47
+ sr.reveal( '.right', { origin: 'right' , distance: '50%', duration: 500 , scale: 1.0, delay :500 ,opacity: 0.5,});
48
+
49
+ </script>