The CSSTransformValue()
constructor creates a new CSSTransformValue
object which represents a list of individual transform objects.
On this page
CSSTransformValue: CSSTransformValue() constructor
Syntax
js
new CSSTransformValue(transforms)
Parameters
-
transforms
-
A list of
CSSTransformComponent
objects to iterate over.
Return value
A new CSSTransformValue
.
Exceptions
-
TypeError
-
Raised if transforms is empty.
Examples
To do
Specifications
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
CSSTransformValue |
66 | 79 | No | No | 53 | 16.4 | 66 | 66 | No | 47 | 16.4 | 9.0 |
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/CSSTransformValue/CSSTransformValue