<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>falsandtru</author_name>
  <author_url>https://blog.hatena.ne.jp/falsandtru/</author_url>
  <blog_title>falsandtruのメモ帳</blog_title>
  <blog_url>https://falsandtru.hatenablog.com/</blog_url>
  <categories>
    <anon>css-in-js</anon>
    <anon>dom-components</anon>
    <anon>TypeScript</anon>
  </categories>
  <description>CSS in JSでStyled ComponentsをAngularやReactといったフレームワークなしで作る最小デザインを例示する。 次のようなHTMLで表されるDOM ComponentにCSSを適用したいとする。 &lt;article id=&quot;id&quot;&gt; &lt;h1&gt;Title&lt;/h1&gt; &lt;ul&gt; &lt;li&gt;item&lt;/li&gt; &lt;li&gt;item&lt;/li&gt; &lt;/ul&gt; &lt;/article&gt; 単純にidで絞り込んだCSSを記述したstyle要素があればCSSを不足なく利用できる。 &lt;article id=&quot;id&quot;&gt; &lt;style&gt;#id ul { width: 100px; }&lt;/style&gt; &lt;h…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffalsandtru.hatenablog.com%2Fentry%2Fcss-in-js-and-styled-components&quot; title=&quot;CSS in JSで作るStyled Componentsの最小デザイン - falsandtruのメモ帳&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>2017-05-12 18:17:25</published>
  <title>CSS in JSで作るStyled Componentsの最小デザイン</title>
  <type>rich</type>
  <url>https://falsandtru.hatenablog.com/entry/css-in-js-and-styled-components</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
