aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/css/_colon_root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/web/css/_colon_root/index.html')
-rw-r--r--files/ja/web/css/_colon_root/index.html63
1 files changed, 0 insertions, 63 deletions
diff --git a/files/ja/web/css/_colon_root/index.html b/files/ja/web/css/_colon_root/index.html
deleted file mode 100644
index 902dac18db..0000000000
--- a/files/ja/web/css/_colon_root/index.html
+++ /dev/null
@@ -1,63 +0,0 @@
----
-title: ':root'
-slug: 'Web/CSS/:root'
-tags:
- - CSS
- - Layout
- - Pseudo-class
- - Reference
- - Web
- - セレクター
- - 疑似クラス
-translation_of: 'Web/CSS/:root'
----
-<div>{{CSSRef}}</div>
-
-<p><a href="/ja/docs/Web/CSS">CSS</a> の <strong><code>:root</code></strong> <a href="/ja/docs/CSS/Pseudo-classes" title="Pseudo-classes">疑似クラス</a>は、文書を表すツリーのルート要素を選択します。 HTML では、 <code>:root</code> は {{HTMLElement("html")}} 要素を表し、<a href="/ja/docs/Web/CSS/Specificity">詳細度</a>が高いことを除けば <code>html</code> セレクターと同等です。</p>
-
-<pre class="brush: css no-line-numbers notranslate">/* 文書のルート要素(HTML の場合は &lt;html&gt;)を選択 */
-:root {
- background: yellow;
-}</pre>
-
-<h2 id="Syntax" name="Syntax">構文</h2>
-
-{{csssyntax}}
-
-<h2 id="Example" name="Example">例</h2>
-
-<p><code>:root</code> はグローバルの <a href="/ja/docs/Web/CSS/Using_CSS_variables">CSS 変数</a>を宣言するのに便利です。</p>
-
-<pre class="brush: css notranslate">:root {
- --main-color: hotpink;
- --pane-padding: 5px 42px;
-}
-</pre>
-
-<h2 id="Specifications" name="Specifications">仕様書</h2>
-
-<table class="standard-table">
- <thead>
- <tr>
- <th scope="col">仕様書</th>
- <th scope="col">策定状況</th>
- <th scope="col">コメント</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{SpecName('CSS4 Selectors', '#root-pseudo', ':root')}}</td>
- <td>{{Spec2('CSS4 Selectors')}}</td>
- <td>変更なし。</td>
- </tr>
- <tr>
- <td>{{SpecName('CSS3 Selectors', '#root-pseudo', ':root')}}</td>
- <td>{{Spec2('CSS3 Selectors')}}</td>
- <td>初回定義。</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザー実装状況</h2>
-
-<p>{{Compat("css.selectors.root")}}</p>