Efficient Infinite Utility Helpers Using Inline CSS Custom Properties and calc()

1 · CSS-Tricks · Aug. 6, 2021, 3:06 p.m.
I recently wrote a very basic Sass loop that outputs several padding and margin utility classes. Nothing fancy, really, just a Sass map with 11 spacing values, looped over to create classes for both padding and margin on each side. … The post Efficient Infinite Utility Helpers Using Inline CSS Custom Properties and calc() appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter....