---
title: "Discussion on \"#45 CSS 中的半透明遮罩 mask，實現各種模糊邊緣特效\" | Hashnode"
description: "Discussion on \"#45 CSS 中的半透明遮罩 mask，實現各種模糊邊緣特效\". ⚠️ 本篇文章已搬遷至 css.im1010ioio.dev，請至新站閱讀完整版。\n\n\n前幾篇寫到 CSS clip-path 時，可以剪裁任何 HTML 的元素，包含色塊、圖片、影片，但是他只限於精準的剪裁線條，萬一今天要有更複雜而且半透明的剪裁呢？\n例如，我今天想要 LOGO 上面有個手印被裁掉，同時又有點半透明效果：\n\n\n圖片來源：Steam - This War of Mine\n\n這時候就可以使用 CSS 的 mask 屬性，再加上一張裁剪用的半透明圖檔，做到我們要的效果，這幾乎跟 Ph..."
url: "https://hashnode.com/posts/css-mask/66f4fafd8198c50188bca891"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [#45 CSS 中的半透明遮罩 mask，實現各種模糊邊緣特效](https://im1010ioio.hashnode.dev/css-mask?utm_source=hashnode&utm_medium=feed)

⚠️ 本篇文章已搬遷至 css.im1010ioio.dev，請至新站閱讀完整版。 前幾篇寫到 CSS clip-path 時，可以剪裁任何 HTML 的元素，包含色塊、圖片、影片，但是他只限於精準的剪裁線條，萬一今天要有更複雜而且半透明的剪裁呢？ 例如，我今天想要 LOGO 上面有個手印被裁掉，同時又有點半透明效果： 圖片來源：Steam - This War of Mine 這時候就可以使用 CSS 的 mask 屬性，再加上一張裁剪用的半透明圖檔，做到我們要的效果，這幾乎跟 Ph...

Sep 26, 2024 · 1 min read · im1010ioio.hashnode.dev  
Updated Feb 3  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#css3](https://hashnode.com/tag/css3)
-   [#mask](https://hashnode.com/tag/mask)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)

## Written by

[YI-LIN CHEN (Eva)](https://hashnode.com/@im1010ioio)

@im1010ioio · Taipei, Taiwan

  
[View profile](https://hashnode.com/@im1010ioio)

ғʀᴏɴᴛᴇɴᴅ ᴅᴇᴠᴇʟᴏᴘᴇʀ / ᴅᴇsɪɢɴᴇʀ / ᴄʀᴇᴀᴛᴏʀ

Chief Designer @HealthyPlate

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
