html css keep background image width code example
Example: how to scale a bg image acc to size of div
/* One way */
background-size: cover;
/* Other option */
background-size: contain;
/* One way */
background-size: cover;
/* Other option */
background-size: contain;