<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yachin29</author_name>
  <author_url>https://blog.hatena.ne.jp/yachin29/</author_url>
  <blog_title>WEBサイト制作の勉強</blog_title>
  <blog_url>https://yachin29.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>以前はjavascript等で制御していたスクロールスナップも現在ではcssのみで簡単に実装出来ます。またflexやvw、vhを使う事でレスポンシブにも簡単に対応出来ます。www.nike.com スクロールの方向とスナップの種類(親要素に指定) scroll-snap-type: y mandatory;ある程度スナップしたら、次のコンテンツに自動でスナップさせる場合は「mandatory」 コンテンツ中間地点にいる場合はその位置で停止するのが「proximity」 親要素に指定します 子要素の停止位置（子要素に指定） scroll-snap-align:start;「start」 エリアの…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyachin29.hatenablog.com%2Fentry%2F2024%2F12%2F11%2F224223&quot; title=&quot;css scroll-snap - WEBサイト制作の勉強&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-03-12 00:00:00</published>
  <title>css scroll-snap</title>
  <type>rich</type>
  <url>https://yachin29.hatenablog.com/entry/2024/12/11/224223</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
