transform-origin
below the visible threshold: 12 of 12 examples match Chrome
css-transforms-1
Differs from Chrome only by anti-aliasing: no pixel is more than 3 of 255 apart on any colour channel, apart from places that differed as much without the declaration. Curves, rotation, gradients and translucent colours land here.
What the specification says
| Initial value | 50% 50% |
|---|---|
| Applies to | transformable elements |
| Inherited | no |
| Percentages | refer to the size of reference box |
| Computed value | see background-position |
| Syntax | [ left | center | right | top | bottom | <length-percentage> ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ] <length>? | [ [ center | left | right ] && [ center | top | bottom ] ] <length>? |
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.
transform-origin:left top, transform-origin:left top 20px
below the visible threshold

| Pixels that differ from Chrome | 80 |
|---|---|
| The same, on the page without the declaration | 37 |
| Largest difference on one colour channel | 3 of 255 |
| The same, on the page without the declaration | 3 of 255 |
What differs is anti-aliasing only.
transform-origin:left bottom
below the visible threshold

| Pixels that differ from Chrome | 46 |
|---|---|
| The same, on the page without the declaration | 37 |
| Largest difference on one colour channel | 3 of 255 |
| The same, on the page without the declaration | 3 of 255 |
What differs is anti-aliasing only.
transform-origin:left 20px
below the visible threshold

| Pixels that differ from Chrome | 48 |
|---|---|
| The same, on the page without the declaration | 37 |
| Largest difference on one colour channel | 3 of 255 |
| The same, on the page without the declaration | 3 of 255 |
What differs is anti-aliasing only.
transform-origin:right top
below the visible threshold

| Pixels that differ from Chrome | 41 |
|---|---|
| The same, on the page without the declaration | 37 |
| Largest difference on one colour channel | 3 of 255 |
| The same, on the page without the declaration | 3 of 255 |
What differs is anti-aliasing only.
transform-origin:20px top
below the visible threshold

| Pixels that differ from Chrome | 42 |
|---|---|
| The same, on the page without the declaration | 37 |
| Largest difference on one colour channel | 3 of 255 |
| The same, on the page without the declaration | 3 of 255 |
What differs is anti-aliasing only.
transform-origin:left, transform-origin:left center, transform-origin:left 50%
below the visible threshold

| Pixels that differ from Chrome | 75 |
|---|---|
| The same, on the page without the declaration | 37 |
| Largest difference on one colour channel | 3 of 255 |
| The same, on the page without the declaration | 3 of 255 |
What differs is anti-aliasing only.
transform-origin:right, transform-origin:right center
below the visible threshold

| Pixels that differ from Chrome | 47 |
|---|---|
| The same, on the page without the declaration | 37 |
| Largest difference on one colour channel | 3 of 255 |
| The same, on the page without the declaration | 3 of 255 |
What differs is anti-aliasing only.
transform-origin:20px
below the visible threshold

| Pixels that differ from Chrome | 51 |
|---|---|
| The same, on the page without the declaration | 37 |
| Largest difference on one colour channel | 3 of 255 |
| The same, on the page without the declaration | 3 of 255 |
What differs is anti-aliasing only.
Which values were measured
A match on one example means a match at the value tried. The property’s grammar has 21 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 | below the visible threshold |
center | not measured |
right | below the visible threshold |
top | not measured |
bottom | not measured |
20px | below the visible threshold |
50% | not measured |
left top | below the visible threshold |
center top | not measured |
right top | below the visible threshold |
20px top | below the visible threshold |
50% top | not measured |
left center | below the visible threshold |
left bottom | below the visible threshold |
left 20px | below the visible threshold |
left 50% | below the visible threshold |
left top 20px | below the visible threshold |
center center | not measured |
right center | below the visible threshold |
center bottom | not measured |
center center 20px | not measured |
Tests that name this property
110 web-platform-tests link to this property’s definition. Few tests carry such a link, so a short list says little about the property.
- Failscss/css-transforms/css-transform-scale-001-manual.html
- Passescss/css-transforms/css-transform-scale-002.html
- Passescss/css-transforms/transform-inherit-origin-001.html
- Passescss/css-transforms/transform-inherit-origin-002.html
- Passescss/css-transforms/transform-origin-001.html
- Passescss/css-transforms/transform-origin-002.html
- Passescss/css-transforms/transform-origin-003.html
- Passescss/css-transforms/transform-origin-004.html
- Passescss/css-transforms/transform-origin-005.html
- Passescss/css-transforms/transform-origin-006.html
- Passescss/css-transforms/transform-origin-007.html
- Passescss/css-transforms/transform-origin-008.html
And 28 more.
Measured against Chrome 148.0.7778.96 on 5 November 2026, with up to 40 candidate values tried per property. How it was measured