PHP Classes

File: public/asset/vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_transition-property-name.scss

Recommend this page to a friend!
  Classes of fathurrahman   mnTemplate   public/asset/vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_transition-property-name.scss   Download  
File: public/asset/vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_transition-property-name.scss
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: mnTemplate
Route HTTP requests to callback functions
Author: By
Last change:
Date: 1 year ago
Size: 697 bytes
 

Contents

Class file image Download
// 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; } }