• Skip to main content
  • Skip to search
  • Skip to select language
webdocs.dev
  • References
    • Overview / Web Technology

      Web technology reference for developers

    • HTML

      Structure of content on the web

    • CSS

      Code used to describe document style

    • JavaScript

      General-purpose scripting language

    • HTTP

      Protocol for transmitting web resources

    • Web APIs

      Interfaces for building web applications

    • Web Extensions

      Developing extensions for web browsers

    • Web Technology

      Web technology reference for developers

  • Guides
    • Overview / MDN Learning Area

      Learn web development

    • MDN Learning Area

      Learn web development

    • HTML

      Learn to structure web content with HTML

    • CSS

      Learn to style content using CSS

    • JavaScript

      Learn to run scripts in the browser

    • Accessibility

      Learn to make the web accessible to all

  • Play New
  1. References
  2. Web APIs
  3. CSSRotate
  4. x

In this article

  • Value
  • Examples
  • Specifications
  • Browser compatibility
  1. CSSRotate
  2. Constructor
    1. CSSRotate()
  3. Instance properties
    1. angle
    2. x
    3. y
    4. z
  4. Inheritance:
    1. CSSTransformComponent

In this article

  • Value
  • Examples
  • Specifications
  • Browser compatibility

CSSRotate: x property

The x property of the CSSRotate interface gets and sets the abscissa or x-axis of the translating vector.

Value

A double integer or a CSSNumericValue

Examples

To Do

Specifications

Specification
CSS Typed OM Level 1
# dom-cssrotate-x

Browser compatibility

Found a content problem with this page?

  • Edit the page on GitHub.
  • Report the content issue.
  • View the source on GitHub.
Want to get more involved? Learn how to contribute.

This page was last modified on Apr 7, 2023 by MDN contributors.

webdocs.dev
  • GitHub

Support

  • Report an issue

Our communities

  • Discord

Developers

  • Web Technologies
  • Learn Web Development

Portions of this content are ©1998–2025 by individual contributors. Content available under a Creative Commons license.