background-position
same effect as Chrome: 12 of 12 examples match Chrome
css-backgrounds-4
The declaration changes our page the way it changes Chrome’s. What still differs between the two renderings was there before the declaration too, on the same page without it (mostly the fonts): no larger with it, or in the same places and no stronger.
What the specification says
| Initial value | 0% 0% |
|---|---|
| Applies to | all elements |
| Inherited | no |
| Percentages | refer to size of background positioning area minus size of background image; see text |
| Computed value | a list, each item a pair of offsets (horizontal and vertical) from the top left origin, each offset given as a computed <length-percentage> value |
| Syntax | <bg-position># |
The measurements
12 examples, all 12 match Chrome. Each is one declaration on a small page, drawn by Chrome and by our engine. Drag on a picture to move the line between them.
background-position:right
same effect as Chrome

| Pixels that differ from Chrome | 0 |
|---|---|
| The same, on the page without the declaration | 0 |
| Largest difference on one colour channel | 0 of 255 |
| The same, on the page without the declaration | 0 of 255 |
Identical to Chrome.
background-position:bottom
same effect as Chrome

| Pixels that differ from Chrome | 0 |
|---|---|
| The same, on the page without the declaration | 0 |
| Largest difference on one colour channel | 0 of 255 |
| The same, on the page without the declaration | 0 of 255 |
Identical to Chrome.
background-position:right top
same effect as Chrome

| Pixels that differ from Chrome | 0 |
|---|---|
| The same, on the page without the declaration | 0 |
| Largest difference on one colour channel | 0 of 255 |
| The same, on the page without the declaration | 0 of 255 |
Identical to Chrome.
background-position:left bottom
same effect as Chrome

| Pixels that differ from Chrome | 0 |
|---|---|
| The same, on the page without the declaration | 0 |
| Largest difference on one colour channel | 0 of 255 |
| The same, on the page without the declaration | 0 of 255 |
Identical to Chrome.
background-position:right 20px top 20px
same effect as Chrome

| Pixels that differ from Chrome | 0 |
|---|---|
| The same, on the page without the declaration | 0 |
| Largest difference on one colour channel | 0 of 255 |
| The same, on the page without the declaration | 0 of 255 |
Identical to Chrome.
background-position:center, background-position:50%, background-position:center center
same effect as Chrome

| Pixels that differ from Chrome | 0 |
|---|---|
| The same, on the page without the declaration | 0 |
| Largest difference on one colour channel | 0 of 255 |
| The same, on the page without the declaration | 0 of 255 |
Identical to Chrome.
background-position:20px
same effect as Chrome

| Pixels that differ from Chrome | 0 |
|---|---|
| The same, on the page without the declaration | 0 |
| Largest difference on one colour channel | 0 of 255 |
| The same, on the page without the declaration | 0 of 255 |
Identical to Chrome.
background-position:top, background-position:center top, background-position:50% top
same effect as Chrome

| Pixels that differ from Chrome | 0 |
|---|---|
| The same, on the page without the declaration | 0 |
| Largest difference on one colour channel | 0 of 255 |
| The same, on the page without the declaration | 0 of 255 |
Identical to Chrome.
Which values were measured
A match on one example means a match at the value tried. The property’s grammar has 63 branches, and 12 of them carry a measurement. At most 12 examples are published per property, so a branch past that is left out by our choice.
| Value | Measured |
|---|---|
left | not measured |
center | same effect as Chrome |
right | same effect as Chrome |
top | same effect as Chrome |
bottom | same effect as Chrome |
x-start | not measured |
x-end | not measured |
y-start | not measured |
y-end | not measured |
block-start | not measured |
block-end | not measured |
inline-start | not measured |
inline-end | not measured |
20px | same effect as Chrome |
50% | same effect as Chrome |
left top | not measured |
center top | same effect as Chrome |
right top | same effect as Chrome |
x-start top | not measured |
x-end top | not measured |
left center | not measured |
left bottom | same effect as Chrome |
left y-start | not measured |
left y-end | not measured |
20px top | not measured |
50% top | same effect as Chrome |
left 20px | not measured |
left 50% | not measured |
block-start inline-start | not measured |
center inline-start | not measured |
block-end inline-start | not measured |
block-start center | not measured |
block-start inline-end | not measured |
start start | not measured |
center center | same effect as Chrome |
end end | not measured |
left 20px top 20px | not measured |
right 20px top 20px | same effect as Chrome |
x-start 20px top 20px | not measured |
x-end 20px top 20px | not measured |
left 50% top 20px | not measured |
left 20px bottom 20px | not measured |
left 20px y-start 20px | not measured |
left 20px y-end 20px | not measured |
left 20px top 50% | not measured |
block-start 20px inline-start 20px | not measured |
block-end 20px inline-start 20px | not measured |
block-start 50% inline-start 20px | not measured |
block-start 20px inline-end 20px | not measured |
block-start 20px inline-start 50% | not measured |
start 20px start 20px | not measured |
end 20px end 20px | not measured |
start 50% start 50% | not measured |
left top 20px | not measured |
center top 20px | not measured |
right top 20px | not measured |
left bottom 20px | not measured |
left top 50% | not measured |
left 20px top | not measured |
right 20px top | not measured |
left 50% top | not measured |
left 20px center | not measured |
left 20px bottom | not measured |
Measured against Chrome 148.0.7778.96 on 5 November 2026, with up to 40 candidate values tried per property. How it was measured