Lehoczky / postcss-fluid

PostCSS plugin that makes it easier to work with fluid css values
https://lehoczky.github.io/postcss-fluid/
12 stars 1 forks source link

Remove restriction on units #6

Open JacobDB opened 1 month ago

JacobDB commented 1 month ago

I like to use em units so that I can scale different sections of a page as needed. This plugin seems fantastic, but it won't allow me to use em units, instead requiring rem or px. I don't understand this requirement; when I use clamp(3em, 1.5em + 3.125vw, 4em) manually, I get the same result. Is there a reason you're artificially restricting this?