Skip to content

Commit ee62a19

Browse files
committed
Added @examples to the linear-gradient and radial-gradient mixins for a quick reference on how to escape the values.
1 parent 29b4d9a commit ee62a19

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

css3.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@
137137
// @param colourB : #000 50%, red 50%;
138138
// @param colourC : #000 100%, red 100%;
139139
//
140+
// @example .linear-gradient(top, ~',crimson 0%', ~',black 100%');
141+
//
140142
// @see http://dev.w3.org/csswg/css3-images/#linear-gradients
141143
//
142144
//============================================================
@@ -161,6 +163,8 @@
161163
// @param colourB : #000 50%, red 50%;
162164
// @param colourC : #000 100%, red 100%;
163165
//
166+
// @example .radial-gradient(~'50% 50%,', circle, ~',crimson 0%', ~',black 100%');
167+
//
164168
// @see http://dev.w3.org/csswg/css3-images/#radial-gradients
165169
//
166170
//============================================================

0 commit comments

Comments
 (0)