Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[css-flexbox][css-grid] clarify whether generated content can be a flex/grid item #1591

@heycam

Description

@heycam

Chrome, Edge, Firefox and Safari all treat generated content of a flex container as a flex item. The spec says "Each in-flow child of a flex container becomes a flex item", but I'm not sure if generated content counts as an in-flow child. It would be good if the spec clarified this, and perhaps had an example with a ::before or ::after being treated as a flex item.

(Similarly for grid.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions