Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion css-images-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1107,11 +1107,14 @@ Linear Gradients: the ''linear-gradient()'' notation {#linear-gradients}
when interpolating colors on the gradient line.
See [[css-color-4#interpolation]].

This level also adds the ability to define the gradient’s direction
relative to the current block and inline directions.

<pre class=prod>
<dfn>&lt;linear-gradient-syntax></dfn> =
[ [ <<angle>> | <<zero>> | to <<side-or-corner>> ] || <<color-interpolation-method>> ]? ,
<<color-stop-list>>
<dfn>&lt;side-or-corner></dfn> = [left | right] || [top | bottom]
<dfn>&lt;side-or-corner></dfn> = [ [left | right] || [top | bottom] ] | [ [inline-start | inline-end] || [block-start | block-end] ]
</pre>

<wpt>
Expand Down