イセンチュートリアルサイト
  • CSS
    • スクロールダウン
    • テキストナビゲーション
    • ボタン
    • メニュー
    • 動画
    • 検索
    • 画像リンクの動き
    • 背景の動き
  • Illustrator
  • JS
    • アコーディオンパネル
    • アニメーション
    • エリアの動き
    • ギャラリー
    • グラフ
    • スライド
    • テキストの動き
    • ニュースティッカー
    • ページトップリンク
    • ページ内リンク
    • メニュー
    • モーダルウィンドウ
    • ローディング
  • Photoshop
  • PHP
  • WordPress
    • プラグイン
    • リンク
  • お客様観覧用
    • WEB制作プラン
    • アニメーション
    • グローバルナビゲーション
    • スライド
  • サーバー
    • CPI
  • 未分類
  • 法律
    • 医療法
    • 柔道整復師法
TOP お客様観覧用 アニメーション

お客様観覧用

カテゴリーページ

  • スクロールアニメーションリスト07

    カテゴリー:アニメーション

    Customizing

    By default, delighters.js intializes automatically when the DOM is ready, and with the following configuration:

    options = {
    	attribute:  'data-delighter',
    	classNames: ['delighter', 'started', 'ended'],
    	start:      0.75, // default start threshold
    	end:        0.75, // default end threshold
    	autoInit:   true  // initialize when DOMContentLoaded
    }

    You can customize any or all of the above properties using:

    Delighters.config({    
    	// set the default start threshold at the bottom
    	start: 1,
    	// let's call Delighters.init() manually later
    	autoInit: false 
    	// ... etc ...
    })
    投稿日:2022年07月23日
  • スクロールアニメーションリスト06

    カテゴリー:アニメーション

    Debugging

    • Set the data-delighter="debug" flag to enable debugging for that delighter
    • This will give the delighter a red outline
    • Also, a dotted red hint line is shown when the delighter is within the viewport
    • The hint line is positioned at the defined start, which by default is 0.75
    • The line is removed when the bottom of the delighter is above the end position, by default also 0.75
    投稿日:2022年07月23日
  • スクロールアニメーションリスト05

    カテゴリー:アニメーション

    How it works

    • Delighters.js toggles classes when you scroll down. You do the rest!
    • Each delighter gets a .started class when its top raises above 75% of the browser’s viewport height
    • When the bottom of the delighter is at 75%, an extra class .ended is added
    • You can change any of these like so: data-delighter="start:0.5;end:0.95;
    • Remember: 0 = top, 1 = bottom
    • Values outside the viewport are allowed, such as start:1.2;end:-0.3
    投稿日:2022年07月23日
  • スクロールアニメーションリスト04

    カテゴリー:アニメーション

    Usage

    1. Include the script

    <script type="text/javascript" src="delighters.js">

    2. Add delighter attributes

    <div class="foo" data-delighter>

    3. Style the delighter (or its children) using built-in classes.started and .ended

    /* when the library loads, each [data-delighter] 
    		gets the .delighter class */
    
    		.foo.delighter {
    			transition: all .3s ease-out;
    			transform: translateX(-100%);
    			opacity: 0;
    		}
    
    		/* the .started class is set when the top
    		of [data-delighter] is at 0.75 of the viewport 
    		(where 0 is top and 1 is bottom) */
    
    		.foo.delighter.started {
    			transform: none;
    			opacity: 1;
    		}
    
    		/* an extra .ended state is set when the bottom 
    		of [data-delighter] is at 0.75 of the viewport
    		(where 0 is top and 1 is bottom) */
    
    		.foo.delighter.started.ended {
    			border: solid red 10px;
    		}

    投稿日:2022年07月23日
  • スクロールアニメーションリスト03

    カテゴリー:アニメーション

    Features

    • Declarative
    • Flexible
    • Light footprint
    • Framework-agnostic
    • Supports desktop, mobile & tablets
    • Degrades gracefully to your default styling
    投稿日:2022年07月23日
1 / 212Next

アーカイブ

  • CSS (117)
    • スクロールダウン (8)
    • テキストナビゲーション (11)
    • ボタン (52)
    • メニュー (1)
    • 動画 (2)
    • 検索 (3)
    • 画像リンクの動き (23)
    • 背景の動き (17)
  • Illustrator (8)
  • JS (93)
    • アコーディオンパネル (2)
    • アニメーション (1)
    • エリアの動き (7)
    • ギャラリー (6)
    • グラフ (7)
    • スライド (9)
    • テキストの動き (17)
    • ニュースティッカー (1)
    • ページトップリンク (9)
    • ページ内リンク (2)
    • メニュー (28)
    • モーダルウィンドウ (1)
    • ローディング (3)
  • Photoshop (1)
  • PHP (20)
  • WordPress (4)
    • プラグイン (2)
    • リンク (1)
  • お客様観覧用 (11)
    • WEB制作プラン (1)
    • アニメーション (8)
    • グローバルナビゲーション (1)
    • スライド (1)
  • サーバー (6)
    • CPI (1)
  • 未分類 (6)
  • 法律 (2)
    • 医療法 (1)
    • 柔道整復師法 (1)
TOP
  • CSS
    • スクロールダウン
    • テキストナビゲーション
    • ボタン
    • メニュー
    • 動画
    • 検索
    • 画像リンクの動き
    • 背景の動き
  • Illustrator
  • JS
    • アコーディオンパネル
    • アニメーション
    • エリアの動き
    • ギャラリー
    • グラフ
    • スライド
    • テキストの動き
    • ニュースティッカー
    • ページトップリンク
    • ページ内リンク
    • メニュー
    • モーダルウィンドウ
    • ローディング
  • Photoshop
  • PHP
  • WordPress
    • プラグイン
    • リンク
  • お客様観覧用
    • WEB制作プラン
    • アニメーション
    • グローバルナビゲーション
    • スライド
  • サーバー
    • CPI
  • 未分類
  • 法律
    • 医療法
    • 柔道整復師法
© 2022 isen-print.