CSSScale
MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونهکد
{{APIRef("CSS Typed Object Model API")}} {{AvailableInWorkers}}
The **CSSScale** interface of the CSS Typed Object Model API represents the {{cssxref("transform-function/scale", "scale()")}} and {{cssxref("transform-function/scale3d", "scale3d()")}} values of the individual {{CSSXRef('transform')}} property in CSS.
{{InheritanceDiagram}}
Constructor
- {{domxref("CSSScale.CSSScale", "CSSScale()")}}
- : Creates a new
CSSScaleobject.
Instance properties
_Also inherits properties from its parent interface, {{DOMxRef("CSSTransformComponent")}}._
- {{domxref('CSSScale.x','x')}}
- : Returns or sets the x-axis value.
- {{domxref('CSSScale.y','y')}}
- : Returns or sets the y-axis value.
- {{domxref('CSSScale.z','z')}}
- : Returns or sets the z-axis value.
Instance methods
_Also inherits methods from its parent interface, {{DOMxRef("CSSTransformComponent")}}._
Examples
To do.
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}