vue-element-queries
vue-element-queries copied to clipboard
mixin for stylus
Hi, thanks for this great plugin..
for anyone interested using a Stylus mixin, here's what I came up with:
style.styl
.selector
+query(500)
background red
mixin.styl
query($bp)
&[{'min-width~="%d%s%s"' % ($bp \p \x)}]
{block}
good luck!