Skip to content

Taking elements only out of the flow of imidiate parent, not out of flow of entire document #2806

@Meteor0id

Description

@Meteor0id

Has it ever been dicussed to come up with something like
position: relative-to-grandparent;

Untill now, something is either in the flow (static, relative etc.) or out of the flow of the document (absolute).
But especitally when dealing with CMS genearted content it can be quite useful to pull elements out of their parent and regroup them on their grandparent.

In my case I ran into a dead ally when trying to come up with a css only solution to pull the captions of multiple images in a group together below the group of images. I could just remove the caption from the image objects and place them all at the bottom of the group in the HTML document, but than I would not be able to mark up the caption as belonging to a certain image within the group (marking up meaning Seach Engine Optimalisation).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions