Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including springbokjs-stylus-sprites with all npm packages installed. Try it out:

var springbokjsStylusSprites = require("springbokjs-stylus-sprites")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

springbokjs-stylus-sprites v0.0.5

Springbok - Sprites for Stylus

exemple :

main.styl

.icon,.icon32{display:inline-block;width:16px;height:16px;margin:2px 3px 2px 0;@extend .hiddenText;font-size:0;}

icon16($name,iconName=$name) .icon.{$name} sicons16(iconName)

sicons16(fileIconName) sprite i16 '../images/'+fileIconName+'.png' 'dimensions:false'

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free