postcss / postcss-media-minmax

Writing simple and graceful Media Queries!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using variables possible?

nevace opened this issue · comments

Hello,

Would it be possible to add support for variables in place of the value. As far as I'm aware it doesn't work but I'm not sure it would even be possible either. I think plugin order would be an issue.

Thanks,

I have this but was trying something like this..

$tablet: 540px

@Custom-Media --tablet-above (width >= $tablet);

I have the precss set of plugins.

precss probably doesn't handle @custom-media. You should open an issue over there.

Ok thanks.