背景复合写法(HTML、CSS)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>背景复合写法</title>
<style>
body {
/* background-image: url(imges/wz.jpg); */
/* background-repeat: no-repeat; */
/* background-position: center top; */
/* background-position: center 40px; */
/* 把背景图片固定 */
/* background-attachment: fixed; */
background: black url(imges/wz.jpg) no-repeat fixed center top;
color: green;
font-size: 20px;
}