<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style type="text/css">
#box{
width: 500px;height: 500px;
border: grey 1px solid;
background: url(11.gif);
margin: 100px auto;
background-repeat: no-repeat;
background-position: center 50px;
background-attachment: fixed;
}
</style>
</head>
<body>
<div id="box"></div>
</body>
</html>
1-1-3html实例代码
最新推荐文章于 2024-01-01 08:00:00 发布