Sets the offset distance between the content and the browser’s origin.
- iOS 10.0+
The distance that the content is offset from the browser’s origin.
A Boolean value that determines whether the change is animated. If
true, the change is animated at a constant velocity. If
false, the change takes place immediately.
Increasing the offset’s
x value shifts the content to the left. Increasing the offset’s
y value shifts the content upward.