aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/css/_doublecolon_-moz-range-track
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/web/css/_doublecolon_-moz-range-track')
-rw-r--r--files/ja/web/css/_doublecolon_-moz-range-track/index.html74
1 files changed, 74 insertions, 0 deletions
diff --git a/files/ja/web/css/_doublecolon_-moz-range-track/index.html b/files/ja/web/css/_doublecolon_-moz-range-track/index.html
new file mode 100644
index 0000000000..a8e2b5b044
--- /dev/null
+++ b/files/ja/web/css/_doublecolon_-moz-range-track/index.html
@@ -0,0 +1,74 @@
+---
+title: '::-moz-range-track'
+slug: 'Web/CSS/::-moz-range-track'
+tags:
+ - CSS
+ - 'CSS:Mozilla Extensions'
+ - Non-standard
+ - Pseudo-element
+ - Reference
+ - Selector
+translation_of: 'Web/CSS/::-moz-range-track'
+---
+<div>{{CSSRef}}{{Non-standard_header}}</div>
+
+<p><strong><code>::-moz-range-track</code></strong> <a href="/en-US/docs/Web/CSS">CSS</a> <a href="/en-US/docs/Web/CSS/Pseudo-elements" title="en/CSS/Pseudo-elements">疑似要素</a>は、 <code>type="range"</code> の {{HTMLElement("input")}} でインジケーターがスライドする <em>track</em> (例, 溝) を表す <a href="/en-US/docs/Web/CSS/Mozilla_Extensions">Mozilla 拡張機能</a> です。</p>
+
+<div class="note">
+<p><strong>Note:</strong> <code>::-moz-range-track</code> を <code>&lt;input type="range"&gt;</code> 以外で使用すると、何にも一致せず、効果がありません。</p>
+</div>
+
+<h2 id="構文">構文</h2>
+
+<pre class="syntaxbox notranslate">{{csssyntax}}</pre>
+
+<h2 id="例">例</h2>
+
+<h3 id="HTML">HTML</h3>
+
+<pre class="brush: html notranslate">&lt;input type="range" min="0" max="100" step="5" value="50"/&gt;
+</pre>
+
+<h3 id="CSS">CSS</h3>
+
+<pre class="brush: css notranslate">input[type=range]::-moz-range-track {
+ background-color: green;
+}
+</pre>
+
+<h3 id="結果">結果</h3>
+
+<p>{{EmbedLiveSample("Example", 300, 50)}}</p>
+
+<p>このスタイルを使用するプログレスバーは、次のようになります:</p>
+
+<p><img alt="A range with the track green." src="https://mdn.mozillademos.org/files/11999/Screen%20Shot%202015-12-04%20at%2010.14.34.png"></p>
+
+<h2 id="仕様">仕様</h2>
+
+<p>標準の一部ではありません。</p>
+
+<h2 id="ブラウザー実装状況">ブラウザー実装状況</h2>
+
+
+
+<p>{{Compat("css.selectors.-moz-range-track")}}</p>
+
+<h2 id="関連項目">関連項目</h2>
+
+<ul>
+ <li>The pseudo-elements used by Gecko to style other parts of a range input:
+ <ul>
+ <li>{{cssxref("::-moz-range-thumb")}} represents the indicator that slides in the groove.</li>
+ <li>{{cssxref("::-moz-range-progress")}} represents the lower portion of the track.</li>
+ </ul>
+ </li>
+ <li>Similar pseudo-elements used by other browsers:
+ <ul>
+ <li>{{cssxref("::-webkit-slider-runnable-track")}}, pseudo-element supported by WebKit and Blink (Safari, Chrome, and Opera)</li>
+ <li>{{cssxref("::-ms-track")}}, pseudo-element supported by Internet Explorer and Edge</li>
+ </ul>
+ </li>
+ <li><a href="https://css-tricks.com/styling-cross-browser-compatible-range-inputs-css/">CSS-Tricks: Styling Cross-Browser Compatible Range Inputs with CSS</a></li>
+ <li><a href="http://www.quirksmode.org/blog/archives/2015/11/styling_and_scr.html">QuirksMode: Styling and scripting sliders</a></li>
+</ul>