Html – How do I place an element relatively to an image using background-image and ::before/::after?
I'd like to position an element (using ::before/::after) relative to an image (using background-image), but it doesn't seem to work. If I add position: absolute to &--right::after will the &--right element be the closest parent with position relative? I mean…