When using a bootstrap template, I encountered an issue with adding an image as a background. Here is the CSS code:
background:url(../images/banner.png) no-repeat;
background-size: 100%;
The problem with these CSS rules is that the image gets clipped and only shows the center part of it, based on the height of the div where it is added. I want the full height of the image to be displayed instead of just the center part.
Please refer to the screenshot for better understanding: