<?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>フロントエンド-Tailwind CSS</anon>
    <anon>フロントエンド</anon>
    <anon>フロントエンド-マークアップ</anon>
    <anon>フロントエンド-スタイリング</anon>
  </categories>
  <description>こんにちは。エキサイトでデザイナーをしている齋藤です。 今回は、Tailwind CSSで画像を他の画像に合わせて切り抜く（マスクする）方法をご紹介します。 なお、本稿の内容は v4.1.12（2025年8月18日時点の最新版）のTailwind CSSを前提としています。 実現したいこと ユーティリティクラスのmask-*でマスクができる まとめ 参考文献 実現したいこと 冒頭、実現したいことを整理します。 以下のように、星型の画像の形に合わせて海の画像を切り抜いて表示することが今回のゴールです。 画像をマスクする過程のイメージ PhotoshopやFigmaを用いてあらかじめ切り抜いた画像…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.excite.co.jp%2Fentry%2F2025%2F08%2F20%2F092025&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/20250818/20250818093520.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-08-20 09:20:25</published>
  <title>Tailwind CSSで画像を他の画像に合わせて切り抜く（マスクする）方法</title>
  <type>rich</type>
  <url>https://tech.excite.co.jp/entry/2025/08/20/092025</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
