![Making sense of max(calc((100vw - 1200px)/2 + max(3%,20px)),55px) | by Kenton de Jong | Geek Culture | Medium Making sense of max(calc((100vw - 1200px)/2 + max(3%,20px)),55px) | by Kenton de Jong | Geek Culture | Medium](https://miro.medium.com/max/1000/1*zWZwn7hJ4NgT16HM_ImLrQ.jpeg)
Making sense of max(calc((100vw - 1200px)/2 + max(3%,20px)),55px) | by Kenton de Jong | Geek Culture | Medium
Ajay Yadav 🇮🇳 on Twitter: "😍 Instead of using 33.33%, you can use CSS calc( ) funtion. 👀 Here the width of the container = 1600px 👉 Now, I want to divide
![myf (parody account) on Twitter: "@css Nice reminder how desperately we need attr() and number type cast inside calc() so we could do `width: calc( 100% / attr(data-columns number));`. (Currently in draft: https://t.co/VeiWSe1iun ) myf (parody account) on Twitter: "@css Nice reminder how desperately we need attr() and number type cast inside calc() so we could do `width: calc( 100% / attr(data-columns number));`. (Currently in draft: https://t.co/VeiWSe1iun )](https://pbs.twimg.com/media/ETYveH0XgAAuAVb.png)