Yes, that’s the case that I meant. Image + heading. The heading has width: 0, and the image has a specific width. We want the container to be as wide as the image, so width: fit-content.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Yes, that’s the case that I meant. Image + heading. The heading has
width: 0
, and the image has a specific width. We want the container to be as wide as the image, sowidth: fit-content
.