並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 6 件 / 6件

新着順 人気順

Scrollの検索結果1 - 6 件 / 6件

  • 知っておくと便利! CSSだけで要素がスクロールできるかどうかを検出する方法

    CSSだけで要素がスクロールできるかどうかを検出する方法を紹介します。 先日紹介したスクロール駆動アニメーション(Scroll-Driven Animations)はスクロール可能なオーバーフローがある場合にのみアクティブになるため、要素がスクロール可能かも検出することができます。 Solved by CSS Scroll-Driven Animations: Detect if an element can scroll or not by Bramus! 下記は各ポイントを意訳したものです。 ※当ブログでの翻訳記事は、元サイト様にライセンスを得て翻訳しています。 はじめに CSSで要素がスクロールできるかどうかを検出する アクティブと非アクティブなスクロール駆動アニメーション CSSの変数を追加して、スクロール検出機能を作成 実装でより使いやすくする 実装例 はじめに スクロール駆動ア

      知っておくと便利! CSSだけで要素がスクロールできるかどうかを検出する方法
    • Scroll Fading 101

      Summary: Whether scroll fading is more distracting than usable depends on the following factors: its persistence, responsiveness, and how sparingly it is applied to elements on the page. When used right, this design pattern can improve brand perception, optimize page loading, and make content more digestible. Introduction Scroll fade is a new design pattern. It refers to an animation that is trigg

        Scroll Fading 101
      • This is a teenager

        It's 1997. Alex is a 13-year-old Hispanic kid being raised by his dad and step-mom. His family's net worth is less than $2,000. And his parents are neither supportive nor involved in his life. When researchers assessed his home and family life, they determined he was in a fairly risky environment. Over the next 25 years, researchers will continue interviewing Alex regularly. He'll be bullied at sc

          This is a teenager
        • スクロールフェードの基礎

          スクロールフェードがユーザブルというよりも気が散るものになるかどうかは、その持続性、応答性、ページ上の要素への控えめな適用といった要素に左右される。このデザインパターンを正しく用いれば、ブランド認知を向上させ、ページの読み込みを最適化し、コンテンツをより理解しやすくすることができる。 Scroll Fading 101 by Sara Ramaswamy on December 8, 2023 日本語版2024年4月11日公開 はじめに スクロールフェードは新しいデザインパターンだ。これは、スクロールによってトリガーされるアニメーションを指し、ユーザーがページ上の特定の地点までスクロールすると、新しい要素やコンテンツがフェードインしたり、フェードアウトするというものである。 動き(つまり、アニメーション)というものは前注意的に処理される。すなわち、ユーザーの目は自動的にアニメーションに引き

            スクロールフェードの基礎
          • A Practical Introduction to Scroll-Driven Animations with CSS scroll() and view() | Codrops

            A Practical Introduction to Scroll-Driven Animations with CSS scroll() and view() With just CSS you can add scroll animations that toggle shadows on navbars, reveal images, add scrollytelling, link up carousel elements and much more. Let’s make a CSS scroll animation! No frameworks, no JavaScript. Connect user interaction with real time scroll interaction feedback; helping transition color, positi

              A Practical Introduction to Scroll-Driven Animations with CSS scroll() and view() | Codrops
            • Solved by CSS Scroll-Driven Animations: Detect if an element can scroll or not

              Because Scroll-Driven Animations are only active when there is scrollable overflow, it is possible to use them as a mechanism to detect if an element can scroll or not. Mix in a Space Toggle or a Style Query, and you’ve got all you need to selectively style an element based on it being scrollable or not. ~ The Code If you’re here for just the code, here it is: @keyframes detect-scroll { from, to {

                Solved by CSS Scroll-Driven Animations: Detect if an element can scroll or not
              1