Design From the Inside Out With CSS Min-Content

Nice explanation of min-content, a CSS width value I wasn't aware of but that looks really useful. It's sort of the opposite of width:auto — instead of growing as wide as it can within its container, it shrinks as narrow as it can around the width of its contents.

View on