Vị trí nền (background-position) thiết lập vị trí bắt đầu của hình ảnh nền.
Ví dụ 1: left center
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-image: url("https://www.tutorialspoint.com/images/Swift.png");
background-repeat: no-repeat;
background-attachment: fixed;
color: blue;
background-position: left center;
}
.demo { text-decoration: overline underline; }
</style>
</head>
<body>
<h1>Chi tiết</h1>
<p class="demo">Trung tâm thi gần trường ABC College.</p>
<p class="demo2">Kỳ thi bắt đầu lúc 9AM.</p>
</body>
</html>
Kết quả

Ví dụ 2: 50% 50% (giữa)
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-image: url("https://www.tutorialspoint.com/images/Swift.png");
background-repeat: no-repeat;
background-attachment: fixed;
color: blue;
background-position: 50% 50%;
}
</style>
</head>
<body>
<h1>Chi tiết</h1>
<p>Trung tâm thi gần trường ABC College.</p>
<p>Kỳ thi bắt đầu lúc 9AM.</p>
</body>
</html>
Kết quả

Giá trị thường dùng:
| Từ khóa | Tương đương % |
|---|---|
| left top | 0% 0% |
| center top | 50% 0% |
| right top | 100% 0% |
| left center | 0% 50% |
| center center | 50% 50% |
| right center | 100% 50% |
| left bottom | 0% 100% |
| center bottom | 50% 100% |
| right bottom | 100% 100% |
Có thể dùng 1 giá trị (giá trị 2 mặc định center), hoặc 2 giá trị (x, y).