Can I match child elements based on the _content_ of a parent element's attribute, with pure CSS?

后端 未结 0 544
忘了有多久
忘了有多久 2020-12-17 04:18

I know I can Select elements by attribute in CSS, i.e. match all elements that have [data-state=42]. But can I use a parent\'s data attribute to select children

相关标签:
回答
  • 消灭零回复
提交回复
热议问题