q1748486819

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

<!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>

分类:

技术点:

相关文章:

  • 2021-11-13
  • 2022-02-09
  • 2022-02-02
  • 2022-02-09
  • 2021-12-05
  • 2021-11-17
  • 2021-09-11
  • 2021-10-07
猜你喜欢
  • 2021-11-14
  • 2021-12-18
  • 2022-12-23
  • 2021-08-16
  • 2022-12-23
  • 2021-07-01
相关资源
相似解决方案