实用CSS样式

focus-with: 自己选中或者子元素选中 form-block:focus-within{ background: #eee; } has() .label span:has(+ input[data-required])::after { content: '*'; color: r

cssweb
Moryu 6