Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6126595
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:23:42+00:00 2026-05-23T16:23:42+00:00

How to rotate an element with respect to a defined point i.e. defined x

  • 0

How to rotate an element with respect to a defined point i.e. defined x & y coordinate in CSS (webkit)?

Normally rotation make element’s center point as reference.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T16:23:42+00:00Added an answer on May 23, 2026 at 4:23 pm

    You could use transform-origin.
    It defines the point to rotate around from the upper left corner of the element.

    transform-origin: 0% 0%
    

    This would rotate around the upper left corner.

    For other options look here: https://developer.mozilla.org/en-US/docs/Web/CSS/transform-origin

    for the safer side if this link not available then here are a couple of more options

    transform-origin: center; // one of the keywords left, center, right, top, and bottom
    
    transform-origin: top left; // same way can use two keywords
    
    transform-origin: 50px 50px; // specific x-offset | y-offset
    
    transform-origin: bottom right 60px; // third part is for 3D transform : z-offset
    

    As far as I know there isn’t an option to rotate around a fixed point (although this would be handy).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Any idea how to get the webkit transform rotation to rotate around a point
Just as a learning experience, I am trying to make en element rotate on
I have the following CSS (3) class: .VisiblePage { -webkit-box-shadow: none; -webkit-transform: rotate(0deg); }
How do you rotate an image with the canvas html5 element from the bottom
I'm using puppybits jQuery plugin QTransform to rotate/animate an element ( https://github.com/puppybits/QTransform ). I
I'd like to use this function to rotate then stop at a particular point
I'd like to test banner (two css background images) and rotate them randomly on
Is there a simple method that allows to rotate a UI element like for
How would I rotate an element with a jQuery's .animate() ? I'm using the
I'm finding that setting a transform (rotate, skew, translateX, etc) on an element that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.