Articles by

Andy Ford

Direct link to the article Efficient Infinite Utility Helpers Using Inline CSS Custom Properties and calc()

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

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. …

(Updated on )