Skip to content

Commit b236516

Browse files
committed
reorganizing the draft
1 parent aeb9f03 commit b236516

1 file changed

Lines changed: 56 additions & 54 deletions

File tree

css3-values/Overview.src.html

Lines changed: 56 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -653,60 +653,6 @@ <h3>&lt;color&gt;</h3>
653653
</div>
654654

655655

656-
<h3>&lt;fraction&gt;</h3>
657-
658-
<p>Some properties accept a series of length values that, in sum,
659-
should add up to a certain length. To take up any remaining space,
660-
fractions can be used.
661-
662-
<h4>The 'fr' unit</h4>
663-
664-
<p>The <dfn title="fr (unit)">fr</dfn> unit is used to
665-
distribute any remaining space in a series of length values. If
666-
multiple fractions are specified, they take up space proportionally to
667-
their numeric value.
668-
669-
<div class="example">
670-
<pre>
671-
border-parts: 10px 1fr 10px;
672-
border-parts: 10px 1fr 10px 1fr 10px;
673-
border-parts: 10px 2fr 10px 2fr 10px;
674-
</pre>
675-
</div>
676-
677-
<p>The ''fr'' unit can only be used in combination with regular length units.
678-
679-
680-
<h3>&lt;grid&gt;</h3>
681-
682-
<p>A grid is a set of invisible vertical and horizontal lines that can
683-
be used to align content. In CSS3, a grid lines can be established
684-
implicitly or explicitly [[!CSS3COL]] [[!CSS3GRID]]. In any case,
685-
the distance between grid lines can be referred to by the ''gr'' unit.
686-
687-
688-
<h4>The 'gr' unit</h4>
689-
690-
<p>The <dfn title="gr (unit)">gr</dfn> unit is used to position elements in relation to grid
691-
lines.
692-
693-
<div class="example">
694-
<pre>
695-
img {
696-
float: top left multicol;
697-
float-offset: 2gr;
698-
width: 1gr }
699-
}
700-
</pre>
701-
</div>
702-
703-
<p>Grid lines can be laid out in uneven patterns. Therefore, the ''gr'' unit is not linear.
704-
705-
<div class="example">
706-
<p>For example, "2gr" is not necessarily twice as long as "1gr".
707-
</div>
708-
709-
710656
<h3>&lt;percentage&gt;</h4>
711657

712658
<p>The format of a percentage value, denoted by <dfn
@@ -1066,6 +1012,8 @@ <h3>&lt;image&gt;</h3>
10661012

10671013
<p>TBD.
10681014

1015+
1016+
10691017
<!--
10701018
<h4>The 'counter' function</h4>
10711019
@@ -1102,6 +1050,60 @@ <h4>The 'counter' function</h4>
11021050
-->
11031051

11041052

1053+
<h3>&lt;fraction&gt;</h3>
1054+
1055+
<p>Some properties accept a series of length values that, in sum,
1056+
should add up to a certain length. To take up any remaining space,
1057+
fractions can be used.
1058+
1059+
<h4>The 'fr' unit</h4>
1060+
1061+
<p>The <dfn title="fr (unit)">fr</dfn> unit is used to
1062+
distribute any remaining space in a series of length values. If
1063+
multiple fractions are specified, they take up space proportionally to
1064+
their numeric value.
1065+
1066+
<div class="example">
1067+
<pre>
1068+
border-parts: 10px 1fr 10px;
1069+
border-parts: 10px 1fr 10px 1fr 10px;
1070+
border-parts: 10px 2fr 10px 2fr 10px;
1071+
</pre>
1072+
</div>
1073+
1074+
<p>The ''fr'' unit can only be used in combination with regular length units.
1075+
1076+
1077+
<h3>&lt;grid&gt;</h3>
1078+
1079+
<p>A grid is a set of invisible vertical and horizontal lines that can
1080+
be used to align content. In CSS3, a grid lines can be established
1081+
implicitly or explicitly [[!CSS3COL]] [[!CSS3GRID]]. In any case,
1082+
the distance between grid lines can be referred to by the ''gr'' unit.
1083+
1084+
1085+
<h4>The 'gr' unit</h4>
1086+
1087+
<p>The <dfn title="gr (unit)">gr</dfn> unit is used to position elements in relation to grid
1088+
lines.
1089+
1090+
<div class="example">
1091+
<pre>
1092+
img {
1093+
float: top left multicol;
1094+
float-offset: 2gr;
1095+
width: 1gr }
1096+
}
1097+
</pre>
1098+
</div>
1099+
1100+
<p>Grid lines can be laid out in uneven patterns. Therefore, the ''gr'' unit is not linear.
1101+
1102+
<div class="example">
1103+
<p>For example, "2gr" is not necessarily twice as long as "1gr".
1104+
</div>
1105+
1106+
11051107

11061108
<h3>Special cases</h3>
11071109

0 commit comments

Comments
 (0)