Sha256: 4388c0ca569036b315d1456c7eafb5f5d25da90a5a148999d83b967b6b65135e

Contents?: true

Size: 1.99 KB

Versions: 29

Compression:

Stored size: 1.99 KB

Contents

@import "compass/support";

// This mixin provides basic support for CSS3 properties and
// their corresponding experimental CSS2 properties when
// the implementations are identical except for the property
// prefix.
@mixin experimental($property, $value,
  $moz      : $experimental-support-for-mozilla,
  $webkit   : $experimental-support-for-webkit,
  $o        : $experimental-support-for-opera,
  $ms       : $experimental-support-for-microsoft,
  $khtml    : $experimental-support-for-khtml,
  $official : true
) {
  @if $webkit  and $experimental-support-for-webkit    { -webkit-#{$property} : $value; }
  @if $khtml   and $experimental-support-for-khtml     {  -khtml-#{$property} : $value; }
  @if $moz     and $experimental-support-for-mozilla   {    -moz-#{$property} : $value; }
  @if $ms      and $experimental-support-for-microsoft {     -ms-#{$property} : $value; }
  @if $o       and $experimental-support-for-opera     {      -o-#{$property} : $value; }
  @if $official                                        {         #{$property} : $value; }
}

// Same as experimental(), but for cases when the property is the same and the value is vendorized
@mixin experimental-value($property, $value,
  $moz      : $experimental-support-for-mozilla,
  $webkit   : $experimental-support-for-webkit,
  $o        : $experimental-support-for-opera,
  $ms       : $experimental-support-for-microsoft,
  $khtml    : $experimental-support-for-khtml,
  $official : true
) {
  @if $webkit  and $experimental-support-for-webkit    { #{$property} : -webkit-#{$value}; }
  @if $khtml   and $experimental-support-for-khtml     { #{$property} :  -khtml-#{$value}; }
  @if $moz     and $experimental-support-for-mozilla   { #{$property} :    -moz-#{$value}; }
  @if $ms      and $experimental-support-for-microsoft { #{$property} :     -ms-#{$value}; }
  @if $o       and $experimental-support-for-opera     { #{$property} :      -o-#{$value}; }
  @if $official                                        { #{$property} :         #{$value}; }
}

Version data entries

29 entries across 28 versions & 5 rubygems

Version Path
egghead-styles-1.0.82 app/assets/stylesheets/plugins/compass/compass/css3/_shared.scss
egghead-styles-1.0.81 app/assets/stylesheets/plugins/compass/compass/css3/_shared.scss
egghead-styles-1.0.80 app/assets/stylesheets/plugins/compass/compass/css3/_shared.scss
egghead-styles-1.0.79 app/assets/stylesheets/plugins/compass/compass/css3/_shared.scss
egghead-styles-1.0.78 app/assets/stylesheets/plugins/compass/compass/css3/_shared.scss
egghead-styles-1.0.77 app/assets/stylesheets/plugins/compass/compass/css3/_shared.scss
egghead-styles-1.0.76 app/assets/stylesheets/plugins/compass/compass/css3/_shared.scss
egghead-styles-1.0.75 app/assets/stylesheets/plugins/compass/compass/css3/_shared.scss
egghead-styles-1.0.74 app/assets/stylesheets/plugins/compass/compass/css3/_shared.scss
egghead-styles-1.0.73 app/assets/stylesheets/plugins/compass/compass/css3/_shared.scss
compass-0.12.7 frameworks/compass/stylesheets/compass/css3/_shared.scss
sadui-0.0.4 vendor/bundle/ruby/2.1.0/gems/compass-0.12.3/frameworks/compass/stylesheets/compass/css3/_shared.scss
sadui-0.0.4 vendor/bundle/ruby/2.0.0/gems/compass-0.12.3/frameworks/compass/stylesheets/compass/css3/_shared.scss
compass-0.12.6 frameworks/compass/stylesheets/compass/css3/_shared.scss
compass-0.12.5 frameworks/compass/stylesheets/compass/css3/_shared.scss
compass-0.12.4 frameworks/compass/stylesheets/compass/css3/_shared.scss
compass-0.12.3 frameworks/compass/stylesheets/compass/css3/_shared.scss
compass-sourcemaps-0.12.4.sourcemaps.a4836f1 frameworks/compass/stylesheets/compass/css3/_shared.scss
simple-compass-0.0.1 sass/compass/css3/_shared.scss
compass-0.12.2 frameworks/compass/stylesheets/compass/css3/_shared.scss