Top "Background-image" questions

The background-image CSS property sets one or more background images for an element.

The way to use background-image in css files with Django

I'd like to use an image file as a background-image on Django. But I do not know how. First, I …

css django background-image
How to add two background images - left and right from center column

I have this css: #wrapper1 { min-width:1020px; min-height:100%; } #wrapper2 { height:100%; background: url('img1.jpg') -100px 300px no-repeat, url('img2.…

html css positioning background-image
Background image stretch y-axis only, keep repeat-x

I have an image set as a background image of a div. The DIV size is changing and inside their …

css cross-browser background-image
Is there a srcset equivalent for css background image

img with srcset attribute looks like a great way of doing responsive images. Is there an equivalent syntax that works …

html css background-image srcset
Hide without removing background image

Is there a way to hide the background image in CSS without removing it? For convenience, I'm using CSS to …

css background-image
Place background image outside border of containing div

I am trying to set a background image to be outside the actual containing div. <div class="expandable">…

html css background-image
Google Chrome Extensions - Can't load local images with CSS

I have a simple Chrome extension that uses the content script feature to modify a website. More specifically, the background-image …

css google-chrome-extension background-image
Reference app relative virtual paths in .css file

Assume I have an "images" folder directory under the root of my application. How can I, from within a .css …

asp.net css background-image dynamic-css
CSS background-position animate right to left

I'm trying to animate a background-image, so that the image appears from right to left. I have used an image …

css animation background-image background-position
CSS: background image does not fill when scrolling

working on a very small site which loads in one go, so there is a div which holds all the …

css scroll background-image