mozilla

Compare Revisions

frequency

Change Revisions

Revision 56269:

Revision 56269 by teoli on

Revision 56270:

Revision 56270 by teoli on

Title:
frequency
frequency
Slug:
CSS/frequency
CSS/frequency
Tags:
css, "CSS Reference"
css, "CSS Reference"
Content:

Revision 56269
Revision 56270
tt30    <h2 class="editable">
31      <span>Examples</span>
32    </h2>
33    <div class="editIcon" style="visibility: hidden;">
34      <h2 class="editable">
35        <a href="time#section_2?action=edit&amp;sectionId=2#secti
 >on_2" title="Edit section"><span class="icon"><img alt="Edit sect
 >ion" class="sectionedit" src="../../skins/common/icons/icon-trans
 >.gif"></span></a>
36      </h2>
37    </div>
38    <p>
39      These are valid time values:
40    </p>
41    <pre>
4212Hz        Positive integer
43-456kHz     Negative integer
444.3Hz       Non-integer
4514KhZ       The unit is case-insensitive, though other capitaliza
 >tion is not recommended.
460           Zero (without the unit)
47+0s         Zero, with a leading + and the unit
48-0ms        Zero, with a leading - and the unt(Though strange, th
 >is is an allowed value)
49</pre>
50    <p>
51      These are invalid time values:
52    </p>
53    <pre>
5412.0        This is a <a href="mks://localhost/en/CSS/number" tit
 >le="en/CSS/number">&lt;number&gt;</a>, not an &lt;frequency&gt;, 
 >it must have a unit
557 Hz        No space is allowed between the <a href="mks://localh
 >ost/en/CSS/number" title="en/CSS/number">&lt;number&gt;</a> and t
 >he unit
56</pre>

Back to History