CSS3 Multi Background | Coding Tag
×

CSS3 Multi Background

3412

CSS3 Multi background property is used to add one or more images at a time without HTML code.

Example:

<!DOCTYPE html>
<html>
<head>
<style type="text/css">
.multi-background{
background-image: url(IMAGE PATH), url(IMAGE PATH);
background-position:left top, right bottom;
background-repeat: no-repeat, no-repeat;
width:621px;
height:358px;
background-color:#cccccc;
border:1px outset #ddd;
}
</style>
</head>
<body>

<div class="multi-background"> </div>
</body>

</html>
Result:



Best WordPress Hosting


Share:


Discount Coupons

Get a .COM for just $6.98

Secure Domain for a Mini Price



Leave a Reply


Comments
    Waiting for your comments