How to select element that contains only the class of “foobar”, don't select if it contains any other classes?

前端 未结 0 1371
深忆病人
深忆病人 2021-02-12 04:41

I only want to select the element if it has one class and that class is \'foobar\'.

                    
         
  • 消灭零回复
  • 提交回复
    热议问题