Fit To Width – CSS-only stretchy text
v0.2.0Kevin 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+
贡献者
截图
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.
