Title: Super Blocks CSS &#8211; Custom CSS for Gutenberg Blocks
Author: iamaliiraja
Published: <strong>2016 年 1 月 10 日</strong>
Last modified: 2024 年 9 月 28 日

---

搜索插件

![](https://ps.w.org/super-custom-css/assets/banner-772x250.png?rev=3159093)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/super-custom-css/assets/icon-256x256.png?rev=3159092)

# Super Blocks CSS – Custom CSS for Gutenberg Blocks

 作者：[iamaliiraja](https://profiles.wordpress.org/iamaliiraja/)

[下载](https://downloads.wordpress.org/plugin/super-custom-css.2.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/super-custom-css/#description)
 * [评价](https://cn.wordpress.org/plugins/super-custom-css/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/super-custom-css/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/super-custom-css/#developers)

 [支持](https://wordpress.org/support/plugin/super-custom-css/)

## 描述

Super Block CSS allows you to add custom CSS to your Blocks straight from the Block
Editor (Gutenberg). It adds a syntax-highlighted CSS Editor where you can add additional
CSS to your Gutenberg Blocks to style them the way you want.

Key features:

 * Adds a Custom CSS panel to every Gutenberg blocks
 * Syntax-highlighted CSS editor for easy coding
 * Apply custom styles to individual blocks
 * Global CSS option for site-wide styles
 * Real-time preview of your custom styles in the editor
 * Easy-to-use interface integrated into the Gutenberg editor

Whether you’re a developer looking to fine-tune your blocks or a site owner wanting
to add some custom flair, Super Block CSS gives you the power to customize your 
Gutenberg blocks with ease.

## 屏幕截图

[⌊Custom CSS panel in action in the Gutenberg editor (GIF)⌉⌊Custom CSS panel in 
action in the Gutenberg editor (GIF)⌉[

Custom CSS panel in action in the Gutenberg editor (GIF)

[⌊Example of custom styled blocks in the editor.⌉⌊Example of custom styled blocks
in the editor.⌉[

Example of custom styled blocks in the editor.

[⌊Global CSS settings page⌉⌊Global CSS settings page⌉[

Global CSS settings page

## 安装

 1. Upload the `super-block-css` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Start adding custom CSS to your blocks in the Gutenberg editor!

## 常见问题

### How do I add custom CSS to a block?

When editing a post or page with Gutenberg, select a block and look for the “Custom
CSS” panel in the block settings sidebar. Click to expand it, and you’ll see a CSS
editor where you can add your custom styles.

### Can I add global CSS that applies to my entire site?

Yes! Go to Appearance > Super Block CSS in your WordPress admin. You’ll find a global
CSS editor where you can add styles that apply site-wide.

### Will this plugin slow down my site?

Super Block CSS is designed to be lightweight and efficient. It only loads the necessary
scripts in the editor and applies styles directly to the blocks, minimizing any 
impact on your site’s performance.

### Is the custom CSS saved with the block content?

Yes, the custom CSS for each block is saved as part of the block’s attributes. This
means your styles will persist even if you move the block or switch themes.

## 评价

![](https://secure.gravatar.com/avatar/90d264f1f415905f6c1fcdf566179db77eb49efb4559f60c71bee90e7a45395c?
s=60&d=retro&r=g)

### 󠀁[Nice and clean!](https://wordpress.org/support/topic/nice-and-clean-48/)󠁿

 [Amigoow](https://profiles.wordpress.org/amigoow/) 2016 年 9 月 3 日

Now I don’t have to make the theme go crap by putting css code in header.php file
😀 Thanks. keep it updated please!

![](https://secure.gravatar.com/avatar/b4f06964618de160f9dec23b26ae4bc769c6cd0a079ec9d192dd0150d3164ae0?
s=60&d=retro&r=g)

### 󠀁[Really really super plugin I love it.](https://wordpress.org/support/topic/really-really-super-plugin-i-love-it/)󠁿

 [owaishanif786](https://profiles.wordpress.org/owaishanif786/) 2016 年 9 月 3 日

After a long time i seen such an awesome plugin. really really super love it.

![](https://secure.gravatar.com/avatar/7bad8bc6bf48ecd9248d37f756b9aa948f13861ae015f3b58316f040f059162f?
s=60&d=retro&r=g)

### 󠀁[WOW !!](https://wordpress.org/support/topic/wow-366/)󠁿

 [Daniyal Ahmed (a11n)](https://profiles.wordpress.org/daniyalahmedk/) 2016 年 9
月 3 日

Awesome plugin, i will always use this one from now.

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/super-custom-css/reviews/)

## 贡献者及开发者

「Super Blocks CSS – Custom CSS for Gutenberg Blocks」是开源软件。 以下人员对此插
件做出了贡献。

贡献者

 *   [ iamaliiraja ](https://profiles.wordpress.org/iamaliiraja/)

[帮助将「Super Blocks CSS – Custom CSS for Gutenberg Blocks」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/super-custom-css)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/super-custom-css/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/super-custom-css/)，或通过[RSS](https://plugins.trac.wordpress.org/log/super-custom-css/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/super-custom-css/)。

## 更新日志

#### 2.0.0

 * Updated Blocks Version
 * Added compatibility with latest WordPress version
 * Improved user interface for custom CSS editor

#### 1.0.0

 * Initial release

## 额外信息

 *  版本 **2.0.0**
 *  最后更新：**2 年前**
 *  活跃安装数量 **40+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.6.5**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/super-custom-css/)
 * 标签
 * [blocks](https://cn.wordpress.org/plugins/tags/blocks/)[css](https://cn.wordpress.org/plugins/tags/css/)
   [custom-styles](https://cn.wordpress.org/plugins/tags/custom-styles/)[editor](https://cn.wordpress.org/plugins/tags/editor/)
   [gutenberg](https://cn.wordpress.org/plugins/tags/gutenberg/)
 *  [高级视图](https://cn.wordpress.org/plugins/super-custom-css/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  3 条 5 星评价     ](https://wordpress.org/support/plugin/super-custom-css/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/super-custom-css/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/super-custom-css/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/super-custom-css/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/super-custom-css/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/super-custom-css/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/super-custom-css/reviews/)

## 贡献者

 *   [ iamaliiraja ](https://profiles.wordpress.org/iamaliiraja/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/super-custom-css/)