Here I have one div This div image I want to set on whole background but it not set full background(see below screenshot). My project is using reactjs. How to set Image in whole background ?
<div
style={{
backgroundImage: `url(${defaultImages.backgroundOfImage})`,
backgroundRepeat: 'no-repeat',
backgroundPosition: 'cover',
}}
>
</div>