0 added
0 removed
Original
2026-01-01
Modified
2026-03-09
1
<p>The direction of the linear gradient can also be specified as an arbitrary angle, for example, 245°. The direction in degrees is specified using the unit deg. You can specify positive and negative angles. Examples:</p>
1
<p>The direction of the linear gradient can also be specified as an arbitrary angle, for example, 245°. The direction in degrees is specified using the unit deg. You can specify positive and negative angles. Examples:</p>
2
background-image: linear-gradient (90deg, yellow, green); background-image: linear-gradient (-135deg, yellow, green);<p>The angles of the gradient are counted like this:</p>
2
background-image: linear-gradient (90deg, yellow, green); background-image: linear-gradient (-135deg, yellow, green);<p>The angles of the gradient are counted like this:</p>
3
<p>0deg corresponds to 12 o’clock, and the angle is counted clockwise. If the angle is specified with a negative value, for example, -90deg, then it is counted counterclockwise.</p>
3
<p>0deg corresponds to 12 o’clock, and the angle is counted clockwise. If the angle is specified with a negative value, for example, -90deg, then it is counted counterclockwise.</p>
4
<p>In this assignment, you need to write gradients to the remaining three “leaves” by analogy with the first: from the colored edge of the “leaf” to the black center of the “flower”.</p>
4
<p>In this assignment, you need to write gradients to the remaining three “leaves” by analogy with the first: from the colored edge of the “leaf” to the black center of the “flower”.</p>