For AI agents: the complete documentation index is available at /next/zh/llms.txt, the full documentation bundle is available at /next/zh/llms-full.txt, and this page is available as Markdown at /next/zh/api/css/properties/word-break.md.
Lynx
  • 简体中文
  • word-break

    介绍

    用于指定怎样在单词内断行。

    使用示例

    语法

    word-break: break-all;
    word-break: normal;

    取值

    • normal 默认值。使用默认的断行规则。

    • break-all 可以在任意字符间断行。

    • keep-all CJK 文本不断行。

    • 默认值 normal

    形式定义

    初始值normal
    适用元素text
    是否支持继承no
    是否支持动画no

    形式语法

    normal | break-all | keep-all

    与 Web 的区别

    兼容性

    LCD tables only load in the browser

    除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。