Skip to content

Commit b05d602

Browse files
committed
reorganizing the draft
1 parent c7100c1 commit b05d602

1 file changed

Lines changed: 27 additions & 27 deletions

File tree

css3-values/Overview.src.html

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -777,10 +777,35 @@ <h3>&lt;string&gt;</h3>
777777
definitions.
778778

779779

780-
<h4>&lt;color&gt;</h4>
780+
<h3>&lt;color&gt;</h3>
781781

782782
<p>Color values are denoted by &lt;color&gt; in the value
783-
definitions. Te
783+
definitions.
784+
785+
786+
<p>The <dfn>RGB hexadecimal notation</dfn> is a shorthand syntax
787+
starts with a '#' character immediately followed by three or six
788+
hexadecimal digits expressing RGB (or RRGGBB) values.
789+
790+
791+
792+
<p>A <dfn>color</dfn> value can either be a keyword, a numerical
793+
specification in a functional notation, or a numerical RGB
794+
specification in a hexadecimal notation. The hexadecimal notation is
795+
special shorthand format that allows compact color descriptions.
796+
797+
<div class="example">
798+
799+
<pre>
800+
em { color: #F00 }
801+
span.issue { color: red }
802+
* { color: hsl(120, 75%, 75%) }
803+
</pre>
804+
805+
</div>
806+
807+
<p>The CSS3 Color module [[!CSS3COLOR]] defines the syntax of the hexadecimal notation.
808+
784809

785810

786811
<h3>&lt;attr&gt;</h3>
@@ -1115,31 +1140,6 @@ <h4>Font families</h4>
11151140
<pre>body { font-family: "Helvetica", "Univers", "Arial", sans-serif }</pre>
11161141
</div>
11171142

1118-
<h4>Colors</h4>
1119-
1120-
1121-
<p>The <dfn>RGB hexadecimal notation</dfn> is a shorthand syntax
1122-
starts with a '#' character immediately followed by three or six
1123-
hexadecimal digits expressing RGB (or RRGGBB) values.
1124-
1125-
1126-
1127-
<p>A <dfn>color</dfn> value can either be a keyword, a numerical
1128-
specification in a functional notation, or a numerical RGB
1129-
specification in a hexadecimal notation. The hexadecimal notation is
1130-
special shorthand format that allows compact color descriptions.
1131-
1132-
<div class="example">
1133-
1134-
<pre>
1135-
em { color: #F00 }
1136-
span.issue { color: red }
1137-
* { color: hsl(120, 75%, 75%) }
1138-
</pre>
1139-
1140-
</div>
1141-
1142-
<p>The CSS3 Color module [[!CSS3COLOR]] defines the syntax of the hexadecimal notation.
11431143

11441144
<h2>Specified, computed, used, and actual values</h2>
11451145

0 commit comments

Comments
 (0)