はじめまして。
この度、LPで2枚重なっている画像の背景のみを真ん中で固定させて上の画像だけを動かしたいと
思っています。
###■参考
https://zrmem.jp/shopping/lp.php?p=5alphasplotion_teiki_full_yamamoto&adcd=2o00p8mt9pp452
(リピート率の箇所など)
###■該当サイト
https://lp.ishi-official.jp/test2
(上から2番目)
うまく固定できなかったり、両方とも動いてしまいます。
どのように分けたら良いでしょうか?
###■プログラム
<div class="bottom"> <img src="https://ishi-official.com/images/skindation/ia/hige/jikkan.png" alt="お急ぎください!在庫が少なくなっております"> </div> <script src="https://unpkg.com/scrollreveal/dist/scrollreveal.min.js"></script> <script> window.sr = ScrollReveal({ reset: true ,mobile: true}); sr.reveal( '.bottom', { origin: 'bottom' , distance: '30%', duration: 1000 , scale: 1.0, delay :200 ,opacity: 0.5,}); sr.reveal( '.right', { origin: 'right' , distance: '50%', duration: 500 , scale: 1.0, delay :500 ,opacity: 0.5,}); </script>あなたの回答
tips
プレビュー