Skip to content

[css-align][css-shapes] Circular center alignment #1849

@Crissov

Description

@Crissov

For center alignment, matching the center of the smallest possible virtual circle (or possibly ellipse) surrounding the box to align with the same center of its alignment container may give better visual results than using the horizontal and vertical center of rectangular boxes. I propose a new positional alignment keyword circular-center for this.

This alignment is particularly useful for non-rectangular boxes as specified in [css-shapes], but the level-1 draft of this module only considers custom shapes for floating boxes. For rectangular boxes and shapes, circular-center equals center.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions