Day 12: max() trickery

from blog Manuel Matuzović - Blog, | ↗ original
↗ original
I saw this interesting one-liner in a demo by Temani Afif..wrapper { margin-inline: max(0px, ((100% - 64rem) / 2)); } It’s basically a shorter way of writing this: .wrapper { max-width: 64rem; margin: 0 auto; width: 100%; } It’s not up to me to decide whether it’s smart to use this in production or not, but I want to break it down to...