My CSS code snippet is as follows:
div#bodyContainer:before {
content: url(/image/colorbar.png);
width: 100%;
display: block;
}
Below is the corresponding HTML:
<body>
<div id="bodyContainer">
In post mean shot ye. There out her child sir his lived. Design at uneasy me season of branch on praise esteem. Abilities discourse believing consisted remaining to no. Mistaken no me denoting dashwood as screened. Whence or esteem easily he on. Dissuade husbands at of no if disposal.
</div>
</body>
The image (colorbar.png) is narrower than the screen width. I want to stretch the image horizontally across the entire screen without repeating. The current code is not achieving this. Is it possible to accomplish this effect? If so, how can I modify the code to do so?