2025-11-20 07:19:56
Today I discovered the use of:
width: 0;
min-width: 100%;
This forces an element's intrinsic width to be 0, while its actual width is still equal to the parent's width.
As a result, the parent element's default width calculations will ignore this element and only consider its siblings.
