Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
unb-pretty / icons / font-awesome / mixins.styl
Size: Mime:
// Mixins
// --------------------------

fa-icon-rotate($degrees, $rotation)
  filter unquote("progid:DXImageTransform.Microsoft.BasicImage(rotation=" + $rotation + ")")
  transform rotate($degrees)

fa-icon-flip($horiz, $vert, $rotation)
  filter unquote("progid:DXImageTransform.Microsoft.BasicImage(rotation=" + $rotation + ", mirror=1)")
  transform scale($horiz, $vert)

// Icon helper mixin
fa($icon)
	display inline-block
	font-family FontAwesome
	font-style normal
	font-weight normal
	line-height 1
	-webkit-font-smoothing antialiased
	-moz-osx-font-smoothing grayscale

	&:before
		content $fa-var- + $icon