PHP Classes

File: public/asset/vendor/select2/docs/themes/learn2/scss/vendor/bourbon/helpers/_render-gradients.scss

Recommend this page to a friend!
  Classes of fathurrahman   mnTemplate   public/asset/vendor/select2/docs/themes/learn2/scss/vendor/bourbon/helpers/_render-gradients.scss   Download  
File: public/asset/vendor/select2/docs/themes/learn2/scss/vendor/bourbon/helpers/_render-gradients.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: 845 bytes
 

Contents

Class file image Download
// User for linear and radial gradients within background-image or border-image properties @function _render-gradients($gradient-positions, $gradients, $gradient-type, $vendor: false) { $pre-spec: null; $spec: null; $vendor-gradients: null; @if $gradient-type == linear { @if $gradient-positions { $pre-spec: nth($gradient-positions, 1); $spec: nth($gradient-positions, 2); } } @else if $gradient-type == radial { $pre-spec: nth($gradient-positions, 1); $spec: nth($gradient-positions, 2); } @if $vendor { $vendor-gradients: -#{$vendor}-#{$gradient-type}-gradient(#{$pre-spec} $gradients); } @else if $vendor == false { $vendor-gradients: "#{$gradient-type}-gradient(#{$spec} #{$gradients})"; $vendor-gradients: unquote($vendor-gradients); } @return $vendor-gradients; }