Web制作 記事公開日:2018/02/19 「CSS Scroll Snap Module」とscroll-behaviorというプロパティで何ができるかという声を聞きました。使い方がちゃんと用意されているので解説します。 scroll-behaviorプロパティは、CSS Object Model (CSSOM)という現在策定されている新しいCSSプロパティの1つになります。CSS Object Model (CSSOM)は、2016 年3月17日にW3CのWorking Draftとなっています。 CSS Object Model (CSSOM) のscroll-behaviorプロパティでできることは、一言で言うと、「スムーススクロールがCSSでできる」ということです。 従来はページ内リンクをどうさせると、アニメーションも何もなくいきなり移動してしまいました。この挙動はユーザーが戸