<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>opensourcetech</author_name>
  <author_url>https://blog.hatena.ne.jp/opensourcetech/</author_url>
  <blog_title>Opensourcetechブログ</blog_title>
  <blog_url>https://www.opensourcetech.tokyo/</blog_url>
  <categories>
    <anon>HTML</anon>
    <anon>CSS</anon>
    <anon>Media Query</anon>
    <anon>メディアクエリー</anon>
  </categories>
  <description>LinuCエヴァンジェリストの鯨井貴博@opensourcetechです。 今回は、以下の記事で作成したHTML/CSSをMedia Queryを使って条件によって切り替えてみようとおもいます。 www.opensourcetech.tokyo ブラウザの幅を変更を切り替え条件として、 header部の背景色を変更するようにしてみます。 方法 その1 まずは、HTMLファイル内のlinkを使います。 ブラウザの幅が、0-480px &lt; 480-960px &lt; それ以上 と変化することで使用するCSSファイルが変更されます。 &lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;titl…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.opensourcetech.tokyo%2Fentry%2F20200814%2F1597416291&quot; title=&quot;Media QueryでHTMLに適用するCSSを切り替えてみる - Opensourcetechブログ&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/o/opensourcetech/20200813/20200813111516.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-08-14 23:44:51</published>
  <title>Media QueryでHTMLに適用するCSSを切り替えてみる</title>
  <type>rich</type>
  <url>https://www.opensourcetech.tokyo/entry/20200814/1597416291</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
