Replies: 3 comments
-
FYI, I've referenced your GH Discussion Idea at #39449 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for sharing this, Uziel. Just checked out the Gist, really thoughtful implementation. Having breakpoint-specific aspect ratios would definitely help in more complex responsive layouts. Curious how this might affect load or override behavior if combined with existing ratio utilities. |
Beta Was this translation helpful? Give feedback.
0 replies
This comment was marked as off-topic.
This comment was marked as off-topic.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Bootstrap Team,
I propose adding support for extra aspect ratios across all breakpoints, as outlined in this Gist: https://gist.github.com/uzielweb/974a7ddc678fd124bce8b7c69ebb886e
This feature would enhance flexibility for responsive designs by allowing developers to define additional aspect ratios (e.g., for images, videos, or containers) that adapt to Bootstrap's breakpoint system. The Gist includes a suggested implementation with utility classes like .ratio-{breakpoint}-{ratio} (e.g., .ratio-md-16x9, .ratio-lg-4x3) to maintain consistency with Bootstrap's naming conventions.
Proposed Benefits:
Implementation Notes:
Please review the Gist and let me know if further refinements or test cases are needed. Happy to contribute to the discussion or code!
Thank you, in advance.
Beta Was this translation helpful? Give feedback.
All reactions