Skip to content

Commit 702cc27

Browse files
committed
Killed some extraneous tabs appearing in <pre>s.
1 parent 563579e commit 702cc27

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

css3-images/Overview.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -557,12 +557,12 @@ <h4 class=no-toc id=linear-gradient-examples><span class=secno>7.1.2
557557
<p>Below are various ways of specifying a basic vertical gradient:</p>
558558

559559
<pre><code>linear-gradient(top, yellow, blue);
560-
linear-gradient(bottom, blue, yellow);
561-
linear-gradient(-90deg, yellow, blue);
562-
linear-gradient(270deg, yellow, blue);
563-
linear-gradient(top, yellow 0%, blue 100%);
564-
linear-gradient(center top, yellow, blue);
565-
linear-gradient(yellow, blue);</code></pre>
560+
linear-gradient(bottom, blue, yellow);
561+
linear-gradient(-90deg, yellow, blue);
562+
linear-gradient(270deg, yellow, blue);
563+
linear-gradient(top, yellow 0%, blue 100%);
564+
linear-gradient(center top, yellow, blue);
565+
linear-gradient(yellow, blue);</code></pre>
566566

567567
<p><img alt="" src=linear1.png></p>
568568
</div>
@@ -571,9 +571,9 @@ <h4 class=no-toc id=linear-gradient-examples><span class=secno>7.1.2
571571
<p>This gradient goes from the upper-left to the lower-right corner.</p>
572572

573573
<pre><code>linear-gradient(top left, yellow, blue);
574-
linear-gradient(0 0, yellow, blue);
575-
linear-gradient(top 0px left 0px, yellow, blue);
576-
linear-gradient(bottom right, blue, yellow);</code></pre>
574+
linear-gradient(0 0, yellow, blue);
575+
linear-gradient(top 0px left 0px, yellow, blue);
576+
linear-gradient(bottom right, blue, yellow);</code></pre>
577577

578578
<p><img alt="" src=linear2.png></p>
579579

@@ -722,8 +722,8 @@ <h4 class=no-toc id=radial-gradient-examples><span class=secno>7.2.2
722722
<p>These examples demonstrate the basic syntax for radial gradients:</p>
723723

724724
<pre><code>radial-gradient(yellow, green);
725-
radial-gradient(center, ellipse cover, yellow 0%, green 100%);
726-
radial-gradient(50% 50%, farthest-corner, yellow, green);</code></pre>
725+
radial-gradient(center, ellipse cover, yellow 0%, green 100%);
726+
radial-gradient(50% 50%, farthest-corner, yellow, green);</code></pre>
727727

728728
<p><img alt="" src=radial1.png></p>
729729

css3-images/Overview.src.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -274,28 +274,28 @@ <h4 class=no-toc>Linear Gradient Examples</h4>
274274
<p>Below are various ways of specifying a basic vertical gradient:</p>
275275

276276
<pre><code>linear-gradient(top, yellow, blue);
277-
linear-gradient(bottom, blue, yellow);
278-
linear-gradient(-90deg, yellow, blue);
279-
linear-gradient(270deg, yellow, blue);
280-
linear-gradient(top, yellow 0%, blue 100%);
281-
linear-gradient(center top, yellow, blue);
282-
linear-gradient(yellow, blue);</code></pre>
277+
linear-gradient(bottom, blue, yellow);
278+
linear-gradient(-90deg, yellow, blue);
279+
linear-gradient(270deg, yellow, blue);
280+
linear-gradient(top, yellow 0%, blue 100%);
281+
linear-gradient(center top, yellow, blue);
282+
linear-gradient(yellow, blue);</code></pre>
283283
<p><img src="linear1.png" alt="" ></p>
284284
</div>
285285
<div class=example>
286286
<p>This gradient goes from the upper-left to the lower-right corner.</p>
287287

288288
<pre><code>linear-gradient(top left, yellow, blue);
289-
linear-gradient(0 0, yellow, blue);
290-
linear-gradient(top 0px left 0px, yellow, blue);
291-
linear-gradient(bottom right, blue, yellow);</code></pre>
289+
linear-gradient(0 0, yellow, blue);
290+
linear-gradient(top 0px left 0px, yellow, blue);
291+
linear-gradient(bottom right, blue, yellow);</code></pre>
292292
<p><img src="linear2.png" alt="" ></p>
293293
</div>
294294
<div class=example>
295295
<p>This demonstrates the use of an angle in the gradient. Compare this image with the previous example. In both gradients, the top-left of the box is pure yellow, and the bottom-right of the box is pure blue. The difference is in the angle that the gradient follows.</p>
296296

297297
<pre><code>linear-gradient(-45deg, yellow, blue);
298-
linear-gradient(315deg, yellow, blue);</code></pre>
298+
linear-gradient(315deg, yellow, blue);</code></pre>
299299
<p><img src="linear3.png" alt="" ></p>
300300
</div>
301301
<div class=example>
@@ -308,7 +308,7 @@ <h4 class=no-toc>Linear Gradient Examples</h4>
308308
<p>Here we use the full background-position syntax to specify the direction of the gradient. Notice that in this example a substantial portion of the image is pure yellow and pure blue, because the starting and ending points of the gradient-line are not on the box edge, but rather somewhere within the box.</p>
309309

310310
<pre><code>linear-gradient(20px 30px, yellow, blue);
311-
linear-gradient(left 20px top 30px, yellow, blue);</code></pre>
311+
linear-gradient(left 20px top 30px, yellow, blue);</code></pre>
312312
<p><img src="linear5.png" alt="" ></p>
313313
</div>
314314

@@ -334,8 +334,8 @@ <h4 class=no-toc>Radial Gradient Examples</h4>
334334
<p>These examples demonstrate the basic syntax for radial gradients:</p>
335335

336336
<pre><code>radial-gradient(yellow, green);
337-
radial-gradient(center, ellipse cover, yellow 0%, green 100%);
338-
radial-gradient(50% 50%, farthest-corner, yellow, green);</code></pre>
337+
radial-gradient(center, ellipse cover, yellow 0%, green 100%);
338+
radial-gradient(50% 50%, farthest-corner, yellow, green);</code></pre>
339339
<p><img src="radial1.png" alt="" ></p>
340340

341341
<pre><code>radial-gradient(circle, yellow, green);</code></pre>

0 commit comments

Comments
 (0)