Skip to content

Instantly share code, notes, and snippets.

@talgautb talgautb/icons.styl
Last active Jul 2, 2016

What would you like to do?
Stylus mixin: create social links on site
display: inline-block
vertical-align: middle
width: 30px
height: @width
background-position center
background-repeat no-repeat
for $icon in vk tw fb ok
background-image: url('../img/icons/'+$icon+'.png')
background-image: url('../img/icons/'+$icon+'--hover.png')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.