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 9001361
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:25:34+00:00 2026-06-16T00:25:34+00:00

Question #1 In this fiddle , the flag raises above the pole Current Transition

  • 0

Question #1

In this fiddle, the flag raises above the pole

Current Transition

enter image description here

Expected Transition

enter image description here

and restores to expected position after transition is complete, but i am looking for a smooth transition as how a flag naturally hoisted, any suggestions please? Am i missing some thing?

Question #2:

Why does the following code do not work

#flag:hover{
    top:50px;
    left:100px;
    -webkit-transform:rotate(0deg);
}​

while the following code works

#container:hover #flag{
    top:50px;
    left:100px;
    -webkit-transform:rotate(0deg);
}​

Am i not supposed to hover on an <image> tag? Does CSS do not support it?

  • 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-06-16T00:25:35+00:00Added an answer on June 16, 2026 at 12:25 am

    Take a look at -webkit-transform-origin.

    I changed your CSS a little bit to account for the changes:

    #flag{
        position:relative;
        top: 43px;
        left: 120px;
    
        -webkit-transform-origin: -10px 0px;
        -webkit-transform:rotate(90deg);
        -webkit-transition-duration:0.5s;
        -webkit-transition-timing:ease-in;
    
    }
    #post{
        position:absolute;
        top:50px;
        left:50px;
    
    }
    #container:hover #flag{
        top: 54px;
        left: 104px;
        -webkit-transform:rotate(0deg);
    }​
    

    Demo: http://jsfiddle.net/YMw3v/6/

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

Sidebar

Related Questions

This isn't a javascript question but I've created a fiddle so I can demonstrate
A small portion of this fiddle: http://jsfiddle.net/v2t67/ is displayed in my question, but my
i have a very conceptual question regarding jquery. i have this fiddle http://jsfiddle.net/zvCrN/ What
I apologize for this rather BASIC question, but I am at whits end here!
As noted by this question and in this fiddle, when injecting an input the
After reading many times this question and its accepted answer How to execute a
Please see this Fiddle . QUESTION #1 If you click on Overview and click
I have this fiddle which was based on the results from this question .
UPDATE: (recap, fiddle and bounty) This question hasn't been getting too much attention, so
I asked this question previously: Disabling and Re-Enabling Dynamic Form Elements with JQuery but

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.