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
Copy file name to clipboardExpand all lines: css-images/Overview.bs
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1059,6 +1059,20 @@ The linear gradient syntax is:
1059
1059
would intersect the corner of the <a>gradient box</a> in the specified direction.
1060
1060
The starting point is determined identically, but in the opposite direction.
1061
1061
1062
+
<div class='note'>
1063
+
Given:
1064
+
1065
+
<ul>
1066
+
<li><var>A</var> the angle (in any quadrant) defining the gradient line’s direction such that 0 degrees points upwards and positive angles represent clockwise rotation,
1067
+
<li><var>W</var> the width of the gradient box,
1068
+
<li><var>H</var> the height of the gradient box,
1069
+
</ul>
1070
+
1071
+
The length of the gradient line (between the <a>starting point</a> and <a>ending point</a>) is:
Note: It is expected that the next level of this module will provide the ability to define the gradient's direction relative to the current text direction and writing-mode.
0 commit comments