Parent
div
section
article
li
a
label
tr
td
form
span
figure
.card
.item
.container
:has()
img
p
a
input
button
h2
span
.active
.hidden
[disabled]
[type=checkbox]:checked
> img (direct child)
+ p (next sibling)
State
(none)
:hover
:focus-within
:not(:has(*)) — empty
Property
border
background
box-shadow
opacity
display: none
padding
transform: scale
Card with image
img element inside
Card without image
no img inside
Another image card
img element inside