Add break-before, break-inside and break-after utilities (#5530)
* Add `break-before` utilities * Add `break-inside` utilities * Add `break-after` utilities * Add `break-before/inside/after` utilities to basic usage test * Remove `break-before` and `break-after` utilities that have no browser support * Rename `break-inside: avoid-column` utility to `break-inside-avoid-column`
This commit is contained in:
parent
f2bc50accf
commit
744249d631
3 changed files with 45 additions and 0 deletions
|
|
@ -320,6 +320,15 @@
|
|||
.columns-md {
|
||||
columns: 28rem;
|
||||
}
|
||||
.break-before-page {
|
||||
break-before: page;
|
||||
}
|
||||
.break-inside-avoid-column {
|
||||
break-inside: avoid-column;
|
||||
}
|
||||
.break-after-auto {
|
||||
break-after: auto;
|
||||
}
|
||||
.auto-cols-min {
|
||||
grid-auto-columns: min-content;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue