Using a PostCSS function to automate your responsive workflow
A little while back, you might have bumped into this CSS-Tricks article where I described how a mixin can be used to automate responsive font sizes using RFS. In its latest version, v9
, RFS is capable of rescaling any value for value for any CSS property with px
or rem
units, like margin
, padding
, border-radius
or even box-shadow
.
Today, we’ll focus on its PostCSS implementation.Read More