line-break
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2020.
Please take two minutes to fill out our short survey.
Experimental: Esta é uma tecnologia experimental
Verifique a tabela de compatibilidade entre Navegadores cuidadosamente antes de usar essa funcionalidade em produção.
A propriedade CSS line-break
é usada para especificar como (ou se) quebrar linhas.
Sintaxe
css
/* Keyword values */
line-break: auto;
line-break: loose;
line-break: normal;
line-break: strict;
/* Valores Globais */
line-break: inherit;
line-break: initial;
line-break: unset;
Valores
Sintaxe formal
Especificações
Specification |
---|
CSS Text Module Level 3 # line-break-property |
Initial value | auto |
---|---|
Aplica-se a | all elements |
Inherited | yes |
Computed value | as specified |
Animation type | discrete |