PHP Classes

File: public/asset/vendor/select2/docs/themes/learn2/scss/vendor/color-schemer/color-schemer/_mixins.scss

Recommend this page to a friend!
  Classes of fathurrahman   mnTemplate   public/asset/vendor/select2/docs/themes/learn2/scss/vendor/color-schemer/color-schemer/_mixins.scss   Download  
File: public/asset/vendor/select2/docs/themes/learn2/scss/vendor/color-schemer/color-schemer/_mixins.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: 820 bytes
 

Contents

Class file image Download
//////////////////////////////////////////// // From Jina Bolton and Eric Meyer -- http://codepen.io/jina/pen/iosjp @function cs-stripes($position, $colors) { $colors: if(type-of($colors) != 'list', compact($colors), $colors); $gradient: (); $width: 100% / length($colors); @for $i from 1 through length($colors) { $pop: nth($colors,$i); $new: $pop ($width * ($i - 1)), $pop ($width * $i); $gradient: join($gradient, $new, comma); } @return linear-gradient($position, $gradient); } //////////////////////////////////////////// // Color tester @mixin cs-test($colors, $height: 2em, $element: "body:before") { #{$element} { content: ""; display: block; height: $height; @include background(cs-stripes(left, ($colors))); position: relative; z-index: 999999999999; } }