{
"$type": "site.standard.document",
"description": "use :has() for when an element doesn't have some other element as a child, like a card without a heading 🤓 .card { ... & : not(:has(h3 )) { /* .card's without h3's */ } } Codepen",
"path": "/css-has-not-combo",
"publishedAt": "2022-11-30T00:00:00.000Z",
"site": "at://did:plc:jnj7wcwuvspxdsipmecmx7rs/site.standard.publication/self",
"tags": [
"note",
"css"
],
"textContent": "use :has() for when an element doesn't have some other element as a child, like a card without a heading 🤓 .card { ... & : not(:has(h3 )) { /* .card's without h3's */ } } Codepen",
"title": "CSS Has Not Combo"
}