Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_prefix.scss « mixins « utils « scss « src - github.com/kakawait/hugo-tranquilpeak-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 74d6f137dafd3db2353ac4ca5d50a6a7addb5594 (plain)
1
2
3
4
5
6
7
8
9
10
11
/// Mixin helper to output vendor prefixes
/// @param {String} $property - Unprefixed CSS property
/// @param {*} $value - Raw CSS value
/// @param {List} $prefixes - List of prefixes to output
@mixin prefix($property, $value, $prefixes: ()) {
    @each $prefix in $prefixes {
        -#{$prefix}-#{$property}: #{$value};
    }

    #{$property}: #{$value};
}