CSS how to target 2 attributes?

前端 未结 3 1332
时光说笑
时光说笑 2020-12-30 23:12

OK if I want to target an tag with type=\"submit\" I can do so like:

input[type=submit]

Also if I w

3条回答
  •  南方客
    南方客 (楼主)
    2020-12-30 23:53

    You can just chain the attribute selectors

    input[type="submit"][value="delete"]
    

提交回复
热议问题