<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>saitoayumu</author_name>
  <author_url>https://blog.hatena.ne.jp/saitoayumu/</author_url>
  <blog_title>エキサイト TechBlog.</blog_title>
  <blog_url>https://tech.excite.co.jp/</blog_url>
  <categories>
    <anon>フロントエンド-スタイリング</anon>
    <anon>フロントエンド-Tailwind CSS</anon>
    <anon>フロントエンド</anon>
    <anon>フロントエンド-マークアップ</anon>
  </categories>
  <description>こんにちは。エキサイトでデザイナーをしている齋藤です。 今回は、Tailwind CSSでタグのベーススタイルを設定する方法をご紹介します。 実現したいこと @layer baseでベーススタイルを設定できる さいごに 実現したいこと 冒頭、実現したいことを整理します。 例えば、サイト内のh1タグのスタイルをすべて共通にしたい場合、カスタムクラスを用意するという手があります。 @layer components { .heading-1 { @apply font-body text-2xl } } &lt;h1 class=&quot;heading-1&quot;&gt;文字には「font-body text-2xl」が…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.excite.co.jp%2Fentry%2F2024%2F09%2F03%2F073914&quot; title=&quot;Tailwind CSSでタグのベーススタイルを設定する方法 - エキサイト TechBlog.&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/s/saitoayumu/20240826/20240826110538.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-09-03 07:39:14</published>
  <title>Tailwind CSSでタグのベーススタイルを設定する方法</title>
  <type>rich</type>
  <url>https://tech.excite.co.jp/entry/2024/09/03/073914</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
