<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kimizuka</author_name>
  <author_url>https://blog.hatena.ne.jp/kimizuka/</author_url>
  <blog_title>みかづきブログ・カスタム</blog_title>
  <blog_url>https://blog.kimizuka.org/</blog_url>
  <categories>
    <anon>CSS</anon>
  </categories>
  <description>developer.mozilla.orgOSのダークモードですが、メディアクエリで簡単に判定できます。 @media (prefers-color-scheme: dark) { /* ダークモードのスタイルを書く */ } DEMO 最近つくっている、PWAをホーム画面に登録することを促すポップアップです。 ライトモードとダークモードでデザインを変えてみました。 ソースコード index.scss @keyframes flow { 0% { bottom: 20px; } 50% { bottom: 40px; } 100% { bottom: 20px; } } .balloon { …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.kimizuka.org%2Fentry%2F2023%2F04%2F10%2F222041&quot; title=&quot;CSSでダークモードを判定する 🐦‍⬛ - みかづきブログ・カスタム&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/k/kimizuka/20230410/20230410221927.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-04-10 22:20:41</published>
  <title>CSSでダークモードを判定する 🐦‍⬛</title>
  <type>rich</type>
  <url>https://blog.kimizuka.org/entry/2023/04/10/222041</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
