Apply a class AND an attribute selector

前端 未结 2 536
北海茫月
北海茫月 2021-01-28 00:14

I want to style this element:


This is working:

input[class*=\"mysl         


        
2条回答
  •  逝去的感伤
    2021-01-28 01:06

    The selector you're looking for is

    input.myslider[type=range]
    

    Your current code looks for children elements and doesn't target the appropriate element.

提交回复
热议问题