CSS Basics: Using Multiple Backgrounds
With CSS, you can control the background of elements. You can set a background-color
to fill it with a solid color, a background-image
to fill it with (you guessed it) an image, or even both:
body {
background-color: red;
background-image: url(pattern.png);
}
Here’s an example where I’m using an SVG image file as the background, embedded right in the CSS as a data URL.
See the Pen background color and image together by Chris Coyier (@chriscoyier) on …
CSS Basics: Using Multiple Backgrounds is a post from CSS-Tricks