61,112
社区成员
发帖
与我相关
我的任务
分享
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>背景图像</title>
<style>
div{
width:400px;
height:400px;
background:url('../flower.PNG');
}
body{
background:url('../flower.PNG');
background-repeat:no-repeat;
background-attachment:fixed;
background-position:right top;
}
</style>
</head>
<body>
<div></div>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
</body>
</html>