终于知道怎么写背景图片叠加了

<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
<style>
.q{
width: 300px;
height: 300px;
border: 1px solid black;
background: url("1.png")no-repeat,
url("2.png")no-repeat 10px 10px,
url("3.png")no-repeat 20px 20px,
url("4.png")no-repeat 30px 30px
}
</style>
</head>
<body>
<div class="q"></div>
</body>
</html>

posted on 2016-04-10 17:03  名字怎么取  阅读(906)  评论(1编辑  收藏  举报

导航