<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>saitoayumu</author_name>
  <author_url>https://blog.hatena.ne.jp/saitoayumu/</author_url>
  <blog_title>エキサイト TechBlog.</blog_title>
  <blog_url>https://tech.excite.co.jp/</blog_url>
  <categories>
    <anon>フロントエンド-CSS</anon>
    <anon>デザイン-UI</anon>
    <anon>フロントエンド</anon>
    <anon>フロントエンド-スタイリング</anon>
  </categories>
  <description>こんにちは。エキサイトでデザイナーをしている齋藤です。 今回はCSSプロパティの一つであるscroll-behaviorを使用して、ページ内遷移のスクロールを滑らかにする方法をご紹介します。 実現したい挙動 既定の挙動 実現したい挙動 どうやって実現するか Tailwind CSSでの指定方法 さいごに 実現したい挙動 冒頭、ページ内遷移のスクロールについて、既定の挙動と実現したい挙動をお示しします。 Codepenに触れて体験の違いを感じてみてください。 既定の挙動 既定の挙動は以下の通りです。スクロールされるというよりかジャンプするに近い挙動です。 See the Pen ページ内遷移：既…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.excite.co.jp%2Fentry%2F2024%2F11%2F19%2F181503&quot; title=&quot;scroll-behaviorでページ内遷移のスクロールを滑らかにする方法 - エキサイト TechBlog.&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/s/saitoayumu/20241118/20241118081714.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-11-19 18:15:03</published>
  <title>scroll-behaviorでページ内遷移のスクロールを滑らかにする方法</title>
  <type>rich</type>
  <url>https://tech.excite.co.jp/entry/2024/11/19/181503</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
