FULL STACK   ·   UI   ·   UX   ·   GRAPHICS   ·   DEVELOPER   ·   INSTRUCTOR

Adam Khoury

Donate funds to show love and support

Click the button below to donate funds securely online. You can use your PayPal account or a credit card.

Your donations help free up my time to produce more content and assist in covering server costs. It's also a great way to say thanks for the content!

Application Configuration

Adam will be adding options here soon.

Multiple Background Images Tutorial

Published :
Author :
Adam Khoury
Learn to use CSS to apply multiple background images to most any HTML elements. This could also be used as a clean method of pre-loading images for Javascript or image galleries, so that images are ready for viewing right away. <!DOCTYPE html> <html> <head> <style> #myDiv { width: 600px; height: 400px; background-image: url(adam.png), url(powerbird.png), url(backdrop.jpg); background-position: center, center top, left top; background-repeat: no-repeat, no-repeat, no-repeat; } </style> </head> <body> <h2>CSS3 Multiple Background Images</h2> <div id="myDiv"></div> </body> </html>