跳到内容

Fit To Width – CSS-only stretchy text

v0.2.0

Kevin Batdorf · 2025年8月25日 上架

Automatically adjusts the text to fit the width of its container. No JavaScript.

正在使用
30+
评分
暂无
累计下载
1,135
最近更新
2026年8月15日
需要 WordPress 6.7+已测试到 7.1.5PHP 7.4+

贡献者

截图

An example of the text next to a cool dog
An example of the text next to a cool dog

A simple, lightweight block for displaying each line of text at full width, no matter the length of the text. No JavaScript.

Star the project on GitHub: https://github.com/kevinbatdorf/fit-to-width

Note: if you are installing it for the first time from the Block Inserter, WordPress has a bug where it doesn’t load block styles into the iFrame, so you will need to refresh.

Plums

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

导航

说明

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

© 2026 Plums