File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1107,11 +1107,14 @@ Linear Gradients: the ''linear-gradient()'' notation {#linear-gradients}
11071107 when interpolating colors on the gradient line.
11081108 See [[css-color-4#interpolation]] .
11091109
1110+ This level also adds the ability to define the gradient’s direction
1111+ relative to the current block and inline directions.
1112+
11101113 <pre class=prod>
11111114 <dfn><linear-gradient-syntax></dfn> =
11121115 [ [ <<angle>> | <<zero>> | to <<side-or-corner>> ] || <<color-interpolation-method>> ]? ,
11131116 <<color-stop-list>>
1114- <dfn><side-or-corner></dfn> = [left | right] || [top | bottom]
1117+ <dfn><side-or-corner></dfn> = [ [ left | right] || [top | bottom] ] | [ [inline-start | inline-end] || [block-start | block-end] ]
11151118 </pre>
11161119
11171120 <wpt>
You can’t perform that action at this time.
0 commit comments