<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>超大背景图片</title>
<style>
body {
background-image: url(images/bg.jpg);
background-repeat: no-repeat;
/* background-position: center top; */
background-position: center 40px;
}
</style>
</head>
<body>
</body>
</html>
CSS-42:背景位置-方位名词应用二
最新推荐文章于 2023-08-10 12:30:03 发布