跳到内容

Glass Act – Backdrop Filters for Blocks

v1.0.0

Job · 2026年10月29日 上架

Blur, tint and recolor whatever sits behind a block, right next to its background color setting.

正在使用
10 以下
评分
暂无
累计下载
306
最近更新
2026年10月29日
需要 WordPress 6.6+已测试到 7.1.5PHP 7.4+

贡献者

截图

The Backdrop filter setting sits right below the background color. Pick an effect, then set the amount.
The Backdrop filter setting sits right below the background color. Pick an effect, then set the amount.
Blur, blur(50px) .
Blur, blur(50px) .
Brightness, brightness(200%) .
Brightness, brightness(200%) .
Contrast, contrast(200%) .
Contrast, contrast(200%) .
Grayscale, grayscale(100%) .
Grayscale, grayscale(100%) .
Hue, hue-rotate(180deg) . Halfway round the color wheel; a full 360deg turn looks the same as none.
Hue, hue-rotate(180deg) . Halfway round the color wheel; a full 360deg turn looks the same as none.
Invert, invert(100%) .
Invert, invert(100%) .
Saturation, saturate(300%) .
Saturation, saturate(300%) .

Select a block that sits on top of something, such as a cover image, a photo or scrolling content. Pick a Backdrop filter just below its background color setting and set the amount. Whatever is behind the block gets filtered, giving frosted glass, dimmed, black-and-white or tinted looks.

The block doesn’t need a background color of its own. Leave it empty to see the filter on its own, or add a semi-transparent color to tint it.

Filters: Blur, Brightness, Contrast, Grayscale, Hue, Invert, Saturation and Sepia.

  • Works on every block with a background color setting, such as Group, Columns, Buttons, Quote and Search.
  • Previews live in the editor.
  • Adds the style when the page renders and saves nothing extra into your post content. If you deactivate the plugin, your blocks stay valid and simply lose the filter.
  • No settings page, no front-end scripts, no data stored.

Blocks that already support backdrop filters natively are left alone. Theme presets referenced as var:preset|backdrop-filter|{slug} are rendered too.

Source code and issues: github.com/jobthomas/glass-act. The editor script in build/ is minified; its unminified source is in src/ in that repository, built with @wordpress/scripts (npm install && npm run build).

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums