Tag

Overflow

0 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 14, 2025 · Frontend Development

Handling Overflow in Flexbox: Preventing Fixed-Width Elements from Being Crushed

This article explains why a flex:1 element can cause a fixed-width sibling to be squeezed when its child exceeds the container width, and presents solutions such as using overflow:hidden, width:0, min-width:0, and analogous vertical-direction fixes.

Overflowcssflexbox
0 likes · 8 min read
Handling Overflow in Flexbox: Preventing Fixed-Width Elements from Being Crushed
ByteFE
ByteFE
Jan 20, 2021 · Frontend Development

Achieving overflow:hidden Effects Without Using overflow:hidden in CSS

This article explains how to clip overflowing content vertically while keeping horizontal overflow visible by using CSS techniques such as clip‑path and the contain property, providing code examples, demos, and a comparison with the traditional overflow:hidden approach.

Overflowclip-pathcontain
0 likes · 10 min read
Achieving overflow:hidden Effects Without Using overflow:hidden in CSS