const rotate = new CSSRotate(1, 1, 0, CSS.deg(45));
console.log(rotate.x.value); // 1
rotate.x = 0;
console.log(rotate.x); // CSSUnitValue {value: 0, unit: "number"}CSSRotate: x property / notebook
CSSRotate: x property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.