<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 的范围控件设置样式?

        Is there a way to style HTML5#39;s range control?(有没有办法为 HTML5 的范围控件设置样式?)
          <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 的范围控件设置样式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  quot;Each child in an array should have a unique key propquot; only on first time render of page(“数组中的每个孩子都应该有一个唯一的 key prop仅在第一次呈现页面时)
                  How do I make a TextGeometry multiline? How do I put it inside a square so it wraps like html text does inside a div?(如何制作 TextGeometry 多线?如何将它放在一个正方形内,以便它像 html 文本一样包裹在 div 内?) - IT屋-程序员软件开发技术分享社
                  Scale background image to fit ie8 window(缩放背景图像以适合 ie8 窗口)
                  @fontface in IE7 (IETEster) not working properly(IE7 (IETEster) 中的@fontface 无法正常工作)
                  Safari 5.1 breaks CSS table cell spacing(Safari 5.1 打破 CSS 表格单元格间距)
                  Put in bold part of description in metatag Drupal module(将描述的粗体部分放在元标记 Drupal 模块中)

                  <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>
                            <tbody id='VBHNu'></tbody>