Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在底线中,我描述了这些滑块的操作方式:当滑块的引脚移动到顶部时,对于最小引脚,该引脚下方的整个位置的颜色对于彩色滑块变为红色,对于黑白滑块和最大引脚变为白色,当此图钉移至底部,此图钉顶部的整个颜色对于彩色滑块变为蓝色,对于黑白滑块变为黑色 如何在滑块拇指之前更改颜色?(表示这部分文本:对于最小引脚,此引脚下的整个位置的颜色对于彩色滑块变为红色,对于黑白滑块变为白色)
这称为范围选择器。有示例项目Here、Here和Here