--- title: break-after slug: Web/CSS/break-after translation_of: Web/CSS/break-after ---
A propriedade break-after do CSS configura como uma quebra de página, coluna ou região deve se comportar após renderizar um elemento. Se nenhum elemento foi renderizado, a propriedade é ignorada.
/* Generic break values */ break-after: auto; break-after: avoid; break-after: always; break-after: all; /* Page break values */ break-after: avoid-page; break-after: page; break-after: left; break-after: right; break-after: recto; break-after: verso; /* Column break values */ break-after: avoid-column; break-after: column; /* Region break values */ break-after: avoid-region; break-after: region; /* Global values */ break-after: inherit; break-after: initial; break-after: unset;
Each possible break point (in other words, each element boundary) is affected by three properties: the break-after value of the previous element, the {{cssxref("break-before")}} value of the next element, and the {{cssxref("break-inside")}} value of the containing element.
To determine if a break must be done, the following rules are applied:
always, left, right, page, column, or region), it has precedence. If more than one of them are such a break, the one of the element that appears the latest in the flow is taken (i.e., the break-before value has precedence over the break-after value, which itself has precedence over the break-inside value).avoid, avoid-page, avoid-region, or avoid-column), no such break will be applied at that point.Once forced breaks have been applied, soft breaks may be added if needed, but not on element boundaries that resolve in a corresponding avoid value.
{{cssinfo}}
The break-after property is specified as one of the keyword values from the list below.
autoavoidalways {{experimental_inline}}all {{experimental_inline}}avoid-pagepageleftrightrecto {{experimental_inline}}verso {{experimental_inline}}avoid-columncolumnavoid-region {{experimental_inline}}region {{experimental_inline}}For compatibility reasons, the legacy {{cssxref("page-break-after")}} property should be treated by browsers as an alias of break-after. This ensures that sites using page-break-after continue to work as designed. A subset of values should be aliased as follows:
| page-break-after | break-after |
|---|---|
auto |
auto |
left |
left |
right |
right |
avoid |
avoid |
always |
page |
The always value of page-break-* was implemented by browsers as a page break, and not as a column break. Therefore the aliasing is to page, rather than the always value in the Level 4 spec.
| Specification | Status | Comment |
|---|---|---|
| {{SpecName('CSS3 Fragmentation', '#break-between', 'break-after')}} | {{Spec2('CSS3 Fragmentation')}} | Adds the recto and verso keywords. Changes the media type of this property from paged to {{xref_cssvisual}}. Defines the breaking algorithm with different kinds of breaks. |
| {{SpecName('CSS3 Regions', '#region-flow-break', 'break-after')}} | {{Spec2('CSS3 Regions')}} | Extends the property to handle region breaks. Adds the avoid-region and region keywords. |
| {{SpecName('CSS3 Multicol', '#break-before-break-after-break-inside', 'break-after')}} | {{Spec2('CSS3 Multicol')}} | Initial definition. Extends the CSS 2.1 {{cssxref("page-break-after")}} property to handle both page and column breaks. |
{{Compat("css.properties.break-after.multicol_context")}}
{{Compat("css.properties.break-after.paged_context")}}