You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> - Add info for the new gradient-radial mixin (usage: @include gradient-radial(farthest-corner, circle, center center, rgba(255,0,0,0.5), #333, orange))
4
-
> - Add info for circle and square mixin
5
-
6
1
#Luigi
7
2
8
3
*Jump to the [index](#index) to everything that is included.*
@@ -147,6 +142,7 @@ This file contains many mixins that require vendor prefixes to achieve what have
Allows creation of background gradients without endless amounts of vendor prefixing. Can cater for horizontal, vertical or diagonal gradients. Radial gradients will need to be [manually generated](http://www.colorzilla.com/gradient-editor/)
283
+
Allows creation of background gradients without endless amounts of vendor prefixing. Can cater for horizontal, vertical or diagonal gradients. See also [radial gradients](#gradient-radial) mixin.
288
284
289
285
Mixin:
290
286
@@ -306,6 +302,41 @@ Usage:
306
302
307
303
*Omitting output due to large amounts of code.- see the [mixin](mixins/_css3.scss) for more detail*
**$size**: Size describing how big the ending shape must be. The possible options are: **closest-side**, **closest-corner**, **farthest-side**, **farthest-corner**
314
+
315
+
**$shape**: The gradient's shape. Can be **circle** or **ellipse**
316
+
317
+
**$position**: The position of the gradient in the element
318
+
319
+
**$fallback**: Fallback background color for old browsers
320
+
321
+
**$colors**: The sequence of colors
322
+
323
+
Usage:
324
+
325
+
.class {
326
+
@include gradient-radial(farthest-corner, circle, center center, #f00, rgba(255,0,0,0.5), #333, orange)
0 commit comments