Sha256: 33be1442299188d8a400e8cba928bd13ed458f0f5cbab0380e0c2335004e306b

Contents?: true

Size: 997 Bytes

Versions: 24

Compression:

Stored size: 997 Bytes

Contents

// Requires Sass 3.1+
@mixin radial-gradient($pos, $shape-size,
                       $G1,        $G2,
                       $G3: false, $G4: false,
                       $G5: false, $G6: false,
                       $G7: false, $G8: false,
                       $G9: false, $G10: false) {

  $full: compact($G1, $G2, $G3, $G4, $G5, $G6, $G7, $G8, $G9, $G10);

  background-color: nth($G1, 1);
  background-image: -webkit-radial-gradient($pos, $shape-size, $full);
  background-image:    -moz-radial-gradient($pos, $shape-size, $full);
  background-image:     -ms-radial-gradient($pos, $shape-size, $full);
  background-image:      -o-radial-gradient($pos, $shape-size, $full);
  background-image:         radial-gradient($pos, $shape-size, $full);
}

//  Usage: Gradient position and shape-size are required. Color stops are optional.
//  @include radial-gradient(50% 50%, circle cover, #1e5799, #efefef);
//  @include radial-gradient(50% 50%, circle cover, #eee 10%, #1e5799 30%, #efefef);

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
wiskey-0.0.9 app/assets/stylesheets/wiskey/css3/_radial-gradient.scss
wiskey-0.0.7 app/assets/stylesheets/css3/_radial-gradient.scss
wiskey-0.0.6 app/assets/stylesheets/css3/_radial-gradient.scss
wiskey-0.0.5 app/assets/stylesheets/css3/_radial-gradient.scss
wiskey-0.0.4 app/assets/stylesheets/css3/_radial-gradient.scss
wiskey-0.0.3 app/assets/stylesheets/css3/_radial-gradient.scss
wiskey-0.0.2 app/assets/stylesheets/css3/_radial-gradient.scss
wiskey-0.0.1 app/assets/stylesheets/css3/_radial-gradient.scss
bourbon-1.0.0 app/assets/stylesheets/css3/_radial-gradient.scss
bourbon-0.2.1 app/assets/stylesheets/css3/_radial-gradient.scss
bourbon-0.2.0 app/assets/stylesheets/css3/_radial-gradient.scss
bourbon-0.1.9 app/assets/stylesheets/css3/_radial-gradient.scss
bourbon-0.1.8 app/assets/stylesheets/css3/_radial-gradient.scss
bourbon-0.1.7 app/assets/stylesheets/css3/_radial-gradient.scss
bourbon-0.1.6 app/assets/stylesheets/css3/_radial-gradient.scss
bourbon-0.1.5 app/assets/stylesheets/css3/_radial-gradient.scss
bourbon-0.1.4 app/assets/stylesheets/css3/_radial-gradient.scss
bourbon-0.1.3 app/assets/stylesheets/css3/_radial-gradient.css.scss
bourbon-0.1.2 app/assets/stylesheets/css3/_radial-gradient.css.scss
bourbon-0.1.1 app/assets/stylesheets/css3/_radial-gradient.css.scss