Skip to content

Instantly share code, notes, and snippets.

@herrseiler
Created February 16, 2016 11:57
Show Gist options
  • Select an option

  • Save herrseiler/a3ae90ddbcb87bc17541 to your computer and use it in GitHub Desktop.

Select an option

Save herrseiler/a3ae90ddbcb87bc17541 to your computer and use it in GitHub Desktop.
Sass Mixin – Filter
@mixin filter($filter-type,$filter-amount) {
-webkit-filter: $filter-type+unquote('(#{$filter-amount})');
-moz-filter: $filter-type+unquote('(#{$filter-amount})');
-ms-filter: $filter-type+unquote('(#{$filter-amount})');
-o-filter: $filter-type+unquote('(#{$filter-amount})');
filter: $filter-type+unquote('(#{$filter-amount})');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment