I want min and max css functions to work with auto #77
Replies: 6 comments 1 reply
-
Just tried to do this today, didn't realize it wasn't supported! I would love to be able to do this. My specific usecase was "margin-top" in a vertical flex container. The item should align to the bottom edge of the container if the container is larger than the content, but if the container is the same size as the content then there should be a minimum 1em gap between it and the preceding element. |
Beta Was this translation helpful? Give feedback.
-
Count me in for this one. |
Beta Was this translation helpful? Give feedback.
-
I've recently been testing Instead I'm using I can see good a use case for |
Beta Was this translation helpful? Give feedback.
-
I've also encountered this issue. As of 2023, CSS functions such as |
Beta Was this translation helpful? Give feedback.
-
It's unfortunate that this has not been implemented yet. |
Beta Was this translation helpful? Give feedback.
-
I want to be able to use the common margin: auto property, but with a minimum margin, such as:
This would center an element horizontally & still enforce 16px of margin on either side when the viewport is too small.
See: https://webwewant.fyi/wants/98/
Beta Was this translation helpful? Give feedback.
All reactions