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
<p>If both starting-point and ending-point are the same, then the gradient is just a solid color, defined by the last color-stop in the list. For example, "left top 90deg" will result in a solid-color gradient (since it has 90deg, the "ending corner" is the top-left, which is where it starts), as will "center" (to obtain the ending-point, you rotate the starting-point around the center - rotating the center around the center gives you the center).</p>
271
271
<divclass=example>
272
272
This example illustrates visually how to calculate the gradient-line from the rules above. This shows the starting and ending-point of the gradient-line, along with the actual gradient, produced by an element with ''background: linear-gradient(45deg, white, black);''.
0 commit comments