aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/web/css/_colon_first-child
diff options
context:
space:
mode:
authorYujiSoftware <yuji.software+github@gmail.com>2022-03-02 20:01:54 +0900
committerIrvin <irvinfly@gmail.com>2022-03-04 01:02:45 +0800
commitc46e9da7f68bd682fc9ff1452b7fe63df1227151 (patch)
treefe6c6e20521b16a22ec64755b88a39effd81a4d7 /files/zh-tw/web/css/_colon_first-child
parente671353fc364cef89441d031e0e8b9300b67951b (diff)
downloadtranslated-content-c46e9da7f68bd682fc9ff1452b7fe63df1227151.tar.gz
translated-content-c46e9da7f68bd682fc9ff1452b7fe63df1227151.tar.bz2
translated-content-c46e9da7f68bd682fc9ff1452b7fe63df1227151.zip
Migrate to Compat macro (zh-tw)
Diffstat (limited to 'files/zh-tw/web/css/_colon_first-child')
-rw-r--r--files/zh-tw/web/css/_colon_first-child/index.html50
1 files changed, 1 insertions, 49 deletions
diff --git a/files/zh-tw/web/css/_colon_first-child/index.html b/files/zh-tw/web/css/_colon_first-child/index.html
index 65abddd20b..7ab1d988ac 100644
--- a/files/zh-tw/web/css/_colon_first-child/index.html
+++ b/files/zh-tw/web/css/_colon_first-child/index.html
@@ -94,55 +94,7 @@ li:first-child{
<h2 id="瀏覽器相容性">瀏覽器相容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基礎支援</td>
- <td>4.0</td>
- <td>{{CompatGeckoDesktop("1.9")}}</td>
- <td>7<sup>[1]</sup></td>
- <td>9.5</td>
- <td>4</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基礎支援</td>
- <td>1.0</td>
- <td>{{CompatGeckoMobile("1.9.1")}}</td>
- <td>7<sup>[1]</sup></td>
- <td>10.0</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在不重新載入網頁的情況下,Internet Explorer 7 的樣式表並不會套用在動態新增的元素上。在 Internet Explorer 8,若元素是以點擊連結而形成的,則 <code>first-child</code> 在該連結不被選取後才有作用。</p>
+{{Compat("css.selectors.first-child")}}
<h2 id="參見">參見</h2>