PHP Classes

File: assets/scss/helpers/_mixins.scss

Recommend this page to a friend!
  Classes of Ravi Kumar   PHP Validator   assets/scss/helpers/_mixins.scss   Download  
File: assets/scss/helpers/_mixins.scss
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Validator
Validate request values with given rules
Author: By
Last change: Update of assets/scss/helpers/_mixins.scss
Date: 11 months ago
Size: 1,229 bytes
 

Contents

Class file image Download
@mixin border-radius($radius) { -webkit-border-radius: $radius; -moz-border-radius: $radius; -ms-border-radius: $radius; -o-border-radius: $radius; border-radius: $radius; } @mixin box-shadow($x, $y, $spread, $color) { -webkit-box-shadow: $x $y $spread $color; -moz-box-shadow: $x $y $spread $color; -ms-box-shadow: $x $y $spread $color; -o-box-shadow: $x $y $spread $color; box-shadow: $x $y $spread $color; } @mixin linear-gradient($fromColor, $toColor) { background-color: $toColor; /* Fallback Color */ background-image: -webkit-gradient(linear, left top, left bottom, from($fromColor), to($toColor)); /* Saf4+, Chrome */ background-image: -webkit-linear-gradient(top, $fromColor, $toColor); /* Chrome 10+, Saf5.1+, iOS 5+ */ background-image: -moz-linear-gradient(top, $fromColor, $toColor); /* FF3.6 */ background-image: -ms-linear-gradient(top, $fromColor, $toColor); /* IE10 */ background-image: -o-linear-gradient(top, $fromColor, $toColor); /* Opera 11.10+ */ background-image: linear-gradient(top, $fromColor, $toColor); filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#{$fromColor}', EndColorStr='#{$toColor}'); }