Mahbubur Rahman Posted on Apr 29, 2025 • Edited on Sep 17, 2025 CSS Flex element prevent auto 100 height #html #css .child-item{ flex-shrink:0; } Enter fullscreen mode Exit fullscreen mode .child-item{ align-self: flex-start; flex: 0 0 auto; } Enter fullscreen mode Exit fullscreen mode Top comments (0) Subscribe Submit Preview Dismiss Code of Conduct • Report abuse
Top comments (0)