word-break

Introduction

Used to specify how to break lines within a word.

Examples

Syntax

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

Values

  • normal Default value. Use the default line break rule.

  • break-all Lines can be interrupted in any character.

  • keep-all Word breaks should not be used for Chinese/Japanese/Korean (CJK) text.

Formal definition

Initial valuenormal
Applies totext
Inheritedno
Animatableno

Formal syntax

normal | break-all | keep-all

Difference with Web

Compatibility

LCD tables only load in the browser

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.