Sha256: 7c7d39d5422354b851bbcafaccc699036c440e98698d23853195a59b9f872819

Contents?: true

Size: 697 Bytes

Versions: 413

Compression:

Stored size: 697 Bytes

Contents

// Return vendor-prefixed property names if appropriate
// Example: transition-property-names((transform, color, background), moz) -> -moz-transform, color, background
//************************************************************************//
@function transition-property-names($props, $vendor: false) {
	$new-props: ();
	
	@each $prop in $props {
		$new-props: append($new-props, transition-property-name($prop, $vendor), comma);
	}

	@return $new-props;
}

@function transition-property-name($prop, $vendor: false) {
	// put other properties that need to be prefixed here aswell
	@if $vendor and $prop == transform {
		@return unquote('-'+$vendor+'-'+$prop);
	}
	@else {
		@return $prop;
	}
}

Version data entries

413 entries across 402 versions & 17 rubygems

Version Path
card-mod-bootstrap-0.18.1 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_transition-property-name.scss
card-mod-bootstrap-0.18.0 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_transition-property-name.scss
card-mod-bootstrap-0.17.0 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_transition-property-name.scss
card-mod-bootstrap-0.16.0 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_transition-property-name.scss
card-mod-bootstrap-0.15.6 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_transition-property-name.scss
card-mod-bootstrap-0.15.5 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_transition-property-name.scss
card-mod-bootstrap-0.15.4 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_transition-property-name.scss
card-mod-bootstrap-0.15.3 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_transition-property-name.scss
card-mod-bootstrap-0.15.1.2 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_transition-property-name.scss
card-mod-bootstrap-0.15.2.pre1 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_transition-property-name.scss
card-mod-bootstrap-0.15.1.1 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_transition-property-name.scss
card-mod-bootstrap-0.15.1 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_transition-property-name.scss
card-mod-bootstrap-0.15.0 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_transition-property-name.scss
portfolio-jekyll-theme-2.0.0 _sass/1-tools/bourbon/functions/_transition-property-name.scss
daiblogs-0.2.1 _sass/bourbon/functions/_transition-property-name.scss
daiblogs-0.2.0 _sass/bourbon/functions/_transition-property-name.scss
daiblogs-0.1.5 _sass/bourbon/functions/_transition-property-name.scss
daiblogs-0.1.4 _sass/bourbon/functions/_transition-property-name.scss
daiblogs-0.1.2 assets/_sass/bourbon/functions/_transition-property-name.scss
daiblogs-0.1.1 assets/_sass/bourbon/functions/_transition-property-name.scss