NextIndexPrevious

CSS3 Examples

2. CSS3 multiple backgrounds example.

<!DOCTYPE html>
<html>
<head>
<title>Untitled Document</title>
<style>
#box{
	width:500px;
	height:500px;
	background-image:url(Paint_Splash.png), url(tux.png);
	background-repeat:no-repeat;
}
</style>
</head>

<body>
<div id="box">
</div>
</body>
</html>

Output :





Developed by


World Wide Web Consortium

World Wide Web Consortium

Google+