background image stack


/ Published in: CSS
Save to your folder(s)

Multiple backgrounds


Copy this code and paste it in your HTML
  1. .container {
  2. background: url(../images/top-image.png) no-repeat, /*I'm higher z-index than the others */
  3. url(../images/middle-image.png) repeat,
  4. url(../images/background-image.png) repeat;
  5. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.