<tfoot id='cx5cd'></tfoot>

  • <small id='cx5cd'></small><noframes id='cx5cd'>

  • <i id='cx5cd'><tr id='cx5cd'><dt id='cx5cd'><q id='cx5cd'><span id='cx5cd'><b id='cx5cd'><form id='cx5cd'><ins id='cx5cd'></ins><ul id='cx5cd'></ul><sub id='cx5cd'></sub></form><legend id='cx5cd'></legend><bdo id='cx5cd'><pre id='cx5cd'><center id='cx5cd'></center></pre></bdo></b><th id='cx5cd'></th></span></q></dt></tr></i><div id='cx5cd'><tfoot id='cx5cd'></tfoot><dl id='cx5cd'><fieldset id='cx5cd'></fieldset></dl></div>

      • <bdo id='cx5cd'></bdo><ul id='cx5cd'></ul>
    1. <legend id='cx5cd'><style id='cx5cd'><dir id='cx5cd'><q id='cx5cd'></q></dir></style></legend>

        有没有办法为 HTML5 的范围控件设置样式?

        时间:2024-04-18
          <tbody id='jK5Kj'></tbody>

            <bdo id='jK5Kj'></bdo><ul id='jK5Kj'></ul>
            • <small id='jK5Kj'></small><noframes id='jK5Kj'>

                • <tfoot id='jK5Kj'></tfoot>

                  <legend id='jK5Kj'><style id='jK5Kj'><dir id='jK5Kj'><q id='jK5Kj'></q></dir></style></legend>
                • <i id='jK5Kj'><tr id='jK5Kj'><dt id='jK5Kj'><q id='jK5Kj'><span id='jK5Kj'><b id='jK5Kj'><form id='jK5Kj'><ins id='jK5Kj'></ins><ul id='jK5Kj'></ul><sub id='jK5Kj'></sub></form><legend id='jK5Kj'></legend><bdo id='jK5Kj'><pre id='jK5Kj'><center id='jK5Kj'></center></pre></bdo></b><th id='jK5Kj'></th></span></q></dt></tr></i><div id='jK5Kj'><tfoot id='jK5Kj'></tfoot><dl id='jK5Kj'><fieldset id='jK5Kj'></fieldset></dl></div>

                • 本文介绍了有没有办法为 HTML5 的范围控件设置样式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  有没有办法为 HTML5 的范围控件设置样式?是否可以更改滑块滑动的线条的颜色?

                  Is there a way to style HTML5's range control? Is it possible to change the color of the line the slider slides on?

                  推荐答案

                  原来webkit里面有:

                  Turns out, there is in webkit:

                   input[type="range"]{
                     -webkit-appearance:none !important;
                   }
                  
                   input[type="range"]::-webkit-slider-thumb{
                     -webkit-appearance:none !important;  
                   }
                  

                  然后您可以为每个选择器添加您需要的任何属性.背景、渐变等……

                  You can then add whatever attributes you need to each those selectors. Background, gradient, etc...

                  希望有帮助!

                  这篇关于有没有办法为 HTML5 的范围控件设置样式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:使用 setInterval 时,如果我在 Chrome 中切换标签并返回,滑块会疯狂追赶 下一篇:如何获得滑块引导程序的值?

                  相关文章

                  <small id='VBHNu'></small><noframes id='VBHNu'>

                      <bdo id='VBHNu'></bdo><ul id='VBHNu'></ul>

                      <tfoot id='VBHNu'></tfoot>
                    1. <legend id='VBHNu'><style id='VBHNu'><dir id='VBHNu'><q id='VBHNu'></q></dir></style></legend>
                    2. <i id='VBHNu'><tr id='VBHNu'><dt id='VBHNu'><q id='VBHNu'><span id='VBHNu'><b id='VBHNu'><form id='VBHNu'><ins id='VBHNu'></ins><ul id='VBHNu'></ul><sub id='VBHNu'></sub></form><legend id='VBHNu'></legend><bdo id='VBHNu'><pre id='VBHNu'><center id='VBHNu'></center></pre></bdo></b><th id='VBHNu'></th></span></q></dt></tr></i><div id='VBHNu'><tfoot id='VBHNu'></tfoot><dl id='VBHNu'><fieldset id='VBHNu'></fieldset></dl></div>