Multiple Background Images


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

Multiple background images can be a useful feature if you want to put some pictures in a background in different positions. Separate it using a comma with the standard background property.


Copy this code and paste it in your HTML
  1. #multiple-images {
  2. background: url(image_1.png) top left no-repeat,
  3. url(image_2.png) bottom left no-repeat,
  4. url(image_3.png) bottom right no-repeat;
  5. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.