https://github.com/sha-red/compass-mixins/tree/master/lib
extended with more sass frameworks and as django app.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
694 B
32 lines
694 B
// |
|
// A partial implementation of the Ruby cross browser support functions from Compass: |
|
// https://github.com/Compass/compass/blob/stable/lib/compass/sass_extensions/functions/cross_browser_support.rb |
|
// |
|
|
|
@function prefix($prefix, $property) { |
|
@return #{$prefix}-#{$property}; |
|
} |
|
|
|
@function -svg($property) { |
|
@return prefix('-svg', $property); |
|
} |
|
|
|
@function -owg($property) { |
|
@return prefix('-owg', $property); |
|
} |
|
|
|
@function -webkit($property) { |
|
@return prefix('-webkit', $property); |
|
} |
|
|
|
@function -moz($property) { |
|
@return prefix('-moz', $property); |
|
} |
|
|
|
@function -o($property) { |
|
@return prefix('-o', $property); |
|
} |
|
|
|
@function -pie($property) { |
|
@return prefix('-pie', $property); |
|
}
|
|
|