Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

nickfrez / unb-pretty   js

Repository URL to install this package:

/ icons / font-awesome / mixins.styl

// 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