Calc deserved more attention in this article; it's really amazing what you can do with it. I'm using it in an application to center content inside a flexible container.. Using calculated padding.
One of the coolest new features on the horizon is the anchor positioning system.
CSS is still frustratingly complicated and nuanced in a way that's typically opaque to developers. For instance why do you need min-width/min-height 0 on nested flex containers to prevent unexpected overflowing? The answer is surprisingly complicated.
One of the coolest new features on the horizon is the anchor positioning system.
CSS is still frustratingly complicated and nuanced in a way that's typically opaque to developers. For instance why do you need min-width/min-height 0 on nested flex containers to prevent unexpected overflowing? The answer is surprisingly complicated.