Skip to content

"Snap to grid" function added to vertically centered flex children #1

@ghost

Description

Hey man,

I have a vertically centered flex child that needs to -- instead of being perfectly centered -- snap in an upward direction to the closest grid line. This will allow me to have a consistent vertical rhythm between slides in a custom mobile-based experience.

Would you have any desire to add this as a feature? I wonder if it's possible to achieve this with Sass only.

I'm currently trying to solve this problem here.

Thanks! Any input would be awesome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions