RT @meyerweb: Been getting a fair bit of mileage out of this #CSS recently:
max-width: max-content; margin-inline: auto;
Applied to a block box, it inline-centers the box when its container is wider than the box’s max-content, while allowing it to fill the container width when it’s narrower.
14/05/2022 à 16:59
Permalien