Sha256: 032d9d65f2a5e5b62eea41a81af9888a9fa4eb3208d923924439b934c42a139e

Contents?: true

Size: 1.75 KB

Versions: 5

Compression:

Stored size: 1.75 KB

Contents

@mixin experimental($property, $value,
  $moz      : true,
  $webkit   : true,
  $o        : true,
  $ms       : true,
  $khtml    : true,
  $official : true
) {
  @if $moz      {    -moz-#{$property} : $value; }
  @if $webkit   { -webkit-#{$property} : $value; }
  @if $o        {      -o-#{$property} : $value; }
  @if $ms       {     -ms-#{$property} : $value; }
  @if $khtml    {  -khtml-#{$property} : $value; }
  @if $official {         #{$property} : $value; }
}

@mixin mwo-experimental($property, $value) {
  @include experimental($property, $value,
                        -moz, -webkit, -o, not -ms, not -khtml, official);
}

@mixin m-experimental($property, $value) {
  @include experimental($property, $value,
                        -moz, not -webkit, not -o, not -ms, not -khtml, official);
}

@mixin o-experimental($property, $value) {
  @include experimental($property, $value,
                        not -moz, not -webkit, -o, not -ms, not -khtml, official);
}

@mixin w-experimental($property, $value) {
  @include experimental($property, $value,
                        not -moz, -webkit, not -o, not -ms, not -khtml, official);
}

@mixin mw-experimental($property, $value) {
  @include experimental($property, $value,
                        -moz, -webkit, not -o, not -ms, not -khtml, official);
}

@mixin mo-experimental($property, $value) {
  @include experimental($property, $value,
                        -moz, not -webkit, -o, not -ms, not -khtml, official);
}

@mixin wo-experimental($property, $value) {
  @include experimental($property, $value,
                        not -moz, -webkit, -o, not -ms, not -khtml, official);
}
// @include experimental(property, value)
// @include experimental(property, value, -moz, -webkit, not -o, not-ks, not -khtml, official)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wiskey-0.0.9 app/assets/stylesheets/wiskey/functions/_experimental.scss
wiskey-0.0.7 app/assets/stylesheets/functions/_experimental.scss
wiskey-0.0.6 app/assets/stylesheets/functions/_experimental.scss
wiskey-0.0.5 app/assets/stylesheets/functions/_experimental.scss
wiskey-0.0.4 app/assets/stylesheets/functions/_experimental.scss