Want to share your CSS expertise with others? Apply to the MDN Fellowship by April 1! http://mzl.la/MDNFellowship

mozilla

Compare Revisions

:nth-of-type

Change Revisions

Revision 26883:

Revision 26883 by teoli on

Revision 26884:

Revision 26884 by McGurk on

Title:
:nth-of-type
:nth-of-type
Slug:
CSS/:nth-of-type
CSS/:nth-of-type
Tags:
css, NeedsExample, "CSS Reference", Selectors
css, NeedsExample, "CSS Reference", Selectors
Content:

Revision 26883
Revision 26884
n25    <h4 name="Example">n
26      Example
27    </h4>
tt32    <h3>
33      Browser compatibility
34    </h3>
35    <p>
36      {{ CompatibilityTable() }}
37    </p>
38    <div id="compat-desktop">
39      <table class="compat-table">
40        <tbody>
41          <tr>
42            <th>
43              Feature
44            </th>
45            <th>
46              Chrome
47            </th>
48            <th>
49              Firefox (Gecko)
50            </th>
51            <th>
52              Internet Explorer
53            </th>
54            <th>
55              Opera
56            </th>
57            <th>
58              Safari
59            </th>
60          </tr>
61          <tr>
62            <td>
63              Basic support
64            </td>
65            <td>
66              1.0
67            </td>
68            <td>
69              {{ CompatGeckoDesktop("1.9.1") }}
70            </td>
71            <td>
72              9.0
73            </td>
74            <td>
75              9.5
76            </td>
77            <td>
78              3.1
79            </td>
80          </tr>
81        </tbody>
82      </table>
83    </div>
84    <div id="compat-mobile">
85      <table class="compat-table">
86        <tbody>
87          <tr>
88            <th>
89              Feature
90            </th>
91            <th>
92              Android
93            </th>
94            <th>
95              Firefox Mobile (Gecko)
96            </th>
97            <th>
98              IE Mobile
99            </th>
100            <th>
101              Opera Mobile
102            </th>
103            <th>
104              Safari Mobile
105            </th>
106          </tr>
107          <tr>
108            <td>
109              Basic support
110            </td>
111            <td>
112              2.1
113            </td>
114            <td>
115              {{ CompatGeckoMobile("1.9.1") }}
116            </td>
117            <td>
118              9.0
119            </td>
120            <td>
121              9.5
122            </td>
123            <td>
124              3.1
125            </td>
126          </tr>
127        </tbody>
128      </table>
129    </div>

Back to History