Categories
October Surprise 2016

css – What’s the difference between visibility: hidden and visibility …

With visibility: collapse, a flex item is not rendered (same as display: none), but the flex algorithm checks the cross size of the item and then uses that data to keep the flex line stable (i.e., what the cross size of the line would be if the flex item was visible).