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
Value: normal | [ <<length-percentage>> | <<fraction>> ]+
297
+
Value: normal | [ <<length-percentage>> | <<flex>> ]+
298
298
Initial: normal
299
299
Inherited: no
300
300
Percentages: refer to length of border-edge side
@@ -306,29 +306,28 @@ The 'border-clip' properties</h3>
306
306
<p>These properties split their respective borders into parts along
307
307
the border edge. The first part is visible, the second is invisible,
308
308
the third part is visible, etc. Parts can be specified with lengths,
309
-
percentages, or fractions (expressed by the ''fr'' unit, as per
310
-
[[CSS3GRID]] or its <a href="https://drafts.csswg.org/css3-grid/">editor's
311
-
edition</a>).
309
+
percentages, or flexible lengths (expressed by the ''fr'' unit, as per
310
+
[[CSS3GRID]]).
312
311
The ''border-clip/normal'' value means
313
312
that the border is not split, but shown normally.
314
313
315
314
<p>'border-clip' is a shorthand property for the four individual properties.
316
315
317
316
<p>If the listed parts are shorter than the border, any remaining
318
-
border is split proportionally between the specified fractions. If
319
-
there are no fractions, the behavior is as if ''1fr'' had been
317
+
border is split proportionally between the specified flexible lengths. If
318
+
there are no flexible lengths, the behavior is as if ''1fr'' had been
320
319
specified at the end of the list.
321
320
322
321
<p>If the listed parts are longer than the border, the specified parts
323
322
will be shown in full until the end of the border. In this case, all
324
-
fractions will be zero.
323
+
flexible lengths will be zero.
325
324
326
325
<p>For horizontal borders, parts are listed from left to right. For
327
326
vertical borders, parts are listed from top to bottom.
328
327
329
328
<p>The exact border parts are determined by laying out the specified border
330
-
parts with all fractions initially set to zero. Any remaining border is
331
-
split proportionally between the fractions specified.
329
+
parts with all flexible lengths initially set to zero. Any remaining border is
330
+
split proportionally between the flexible lengths specified.
332
331
333
332
<div class="example">
334
333
@@ -466,7 +465,7 @@ The 'border-clip' properties</h3>
466
465
border: 2px solid black;
467
466
border-top-parts: repeat(10px 10px);
468
467
</pre>
469
-
<p>In this example, the repeat pattern is shown five times. The box in this example is slightly wider than the box in the previous example. The remaining border is taken up by a fraction, as if this code had been specified:
468
+
<p>In this example, the repeat pattern is shown five times. The box in this example is slightly wider than the box in the previous example. The remaining border is taken up by a flexible length, as if this code had been specified:
470
469
<pre>
471
470
border: 2px solid black;
472
471
border-top-parts: repeat(10px 10px) 1fr;
@@ -523,7 +522,7 @@ The 'border-clip' properties</h3>
<p>All but one of the visible border parts are represented as fractions in this example. The length of these border parts will change when the width of the element changes. Here is one rendering where 1fr ends up being 10px:
525
+
<p>All but one of the visible border parts are represented as flexible lengths in this example. The length of these border parts will change when the width of the element changes. Here is one rendering where 1fr ends up being 10px:
0 commit comments