Skip to content

Commit 1915668

Browse files
committed
Added back an example that uses a negative angle.
1 parent 2a6ac69 commit 1915668

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

css3-images/Overview.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,8 @@ <h4 class=no-toc id=linear-gradient-examples><span class=secno>5.1.2.
804804
box is pure yellow, and the bottom-right of the box is pure blue. The
805805
difference is in the angle that the gradient follows.</p>
806806

807-
<pre><code>linear-gradient(135deg, yellow, blue);</code></pre>
807+
<pre><code>linear-gradient(135deg, yellow, blue);
808+
linear-gradient(-45deg, blue, yellow);</code></pre>
808809

809810
<p><img alt="" src=linear3.png></p>
810811
</div>

css3-images/Overview.src.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,8 @@ <h4 class='no-toc' id='linear-gradient-examples'>
556556
box is pure yellow, and the bottom-right of the box is pure blue. The
557557
difference is in the angle that the gradient follows.</p>
558558

559-
<pre><code>linear-gradient(135deg, yellow, blue);</code></pre>
559+
<pre><code>linear-gradient(135deg, yellow, blue);
560+
linear-gradient(-45deg, blue, yellow);</code></pre>
560561

561562
<p><img src="linear3.png" alt="" ></p>
562563
</div>

0 commit comments

Comments
 (0)