vue-element-queries icon indicating copy to clipboard operation
vue-element-queries copied to clipboard

mixin for stylus

Open eybarta opened this issue 7 years ago • 0 comments

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!

eybarta avatar Oct 10 '17 06:10 eybarta