Web Design

Manuel Matuzovic: max() Trickery

October 18, 2022
Manuel Matuzovic: max() Trickery

By way of a post by Manuel Matuzović which is by way of a demo by Temani Afif.

.wrapper {
  margin-inline: max(0px, ((100% - 64rem) / 2)); 
}

You’d be doing yourself a favor to read Manuel’s breakdown of …


Manuel Matuzovic: max() Trickery originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.

Read More

Our latest news

Read the latest news, articles and tips from Add On IDX

Want to learn more?

Signup