<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kikiki-kiki</author_name>
  <author_url>https://blog.hatena.ne.jp/kikiki-kiki/</author_url>
  <blog_title>かもメモ</blog_title>
  <blog_url>https://chaika.hatenablog.com/</blog_url>
  <categories>
    <anon>Webpack</anon>
    <anon>JavaScript</anon>
    <anon>CSS</anon>
    <anon>Sass (SCSS)</anon>
    <anon>Tips</anon>
  </categories>
  <description>CSS Modules とゎ？ ざっくりいうと CSS は全部が global 定義なので、コンポーネントごとにクラス名をハッシュ化したモジュールにしてしまってスタイルの影響範囲をコンポーネントの中に閉じ込めようというもの e.g. /* style.css */ .logo { color: red; } import stytles from './style.css' '&lt;div class=&quot;' + styles.logo + '&quot;&gt;' 👇コンパイル /* css */ ._23_aKvs-b8bW2Vg3fwHozO { color: red; } // 👇 import style…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaika.hatenablog.com%2Fentry%2F2020%2F10%2F27%2F083000&quot; title=&quot;CSS Modules やっていき - かもメモ&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://m.media-amazon.com/images/I/51KuFj40zfL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-10-27 08:30:00</published>
  <title>CSS Modules やっていき</title>
  <type>rich</type>
  <url>https://chaika.hatenablog.com/entry/2020/10/27/083000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
