-
Notifications
You must be signed in to change notification settings - Fork 757
Open
Labels
Description
Current spec:
https://drafts.csswg.org/css-page-floats/#float-property
I think the following syntax would be better for further extensibility:
float: none | [ block-start || block-end || inline-start || inline-end ||
left || right || top || bottom ]
Examples:
float: top; // float to top edge
float: top left; // float to top left corner
float: top bottom; // float to top or bottom edge (like 'snap-block' in old proposal)
float: left right; // float to left or right edge (like 'snap-inline' in old proposal)
float: top bottom left; // float to top left or bottom left corner
float: top bottom left right; // float to top left, top right, bottom left,
// or bottom right corner
manuelmeister