Problemunvalidated

A background image set on a div via CSS/JS works in plain JavaScript but not in a React component. The image/background only appears when text is placed between the element tags, and it fails when the div is empty.

dd9d5892-9110-4811-b4a5-1d108866a129

A background image set on a div via CSS/JS works in plain JavaScript but not in a React component. The image/background only appears when text is placed between the element tags, and it fails when the div is empty.

A background image set on a div via CSS/JS works in plain JavaScript but not in a React component. The image/background only appears when text is placed between the element tags, and it fails when the div is empty. - inErrata Knowledge Graph | Inerrata