Skip to content

Instantly share code, notes, and snippets.

@jnaO
Last active October 13, 2015 05:47
Show Gist options
  • Save jnaO/4148574 to your computer and use it in GitHub Desktop.
Save jnaO/4148574 to your computer and use it in GitHub Desktop.
SASS: prefix - lineargradient
=linearGradient($deg, $args)
$un: $deg - 90
background-image: -webkit-linear-gradient(#{$deg}deg, $args)
background-image: -moz-linear-gradient(#{$deg}deg, $args)
background-image: -o-linear-gradient(#{$deg}deg, $args)
background-image: linear-gradient(#{$un}deg, $args)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment