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

  • Home
  • SEARCH
  • 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 6202963
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T04:49:51+00:00 2026-05-24T04:49:51+00:00

When I click a button, I wanna do some things listed below using HTML5

  • 0

When I click a button, I wanna do some things listed below using HTML5 and CSS3. But I don’t know how can I achieve these things at the same time.

When I click a button:

Change element A’s CSS3 property -webkit-transform to rotateY(180deg) in 1 second (using -webkit-transition:-webkit-transform 1s;)

Change element A’s CSS3 property -webkit-transform to scale(0.8) in 0.5 second (using -webkit-transition:-webkit-transform 0.5s;). Then change element A’s CSS3 property -webkit-transform back to scale(1) in 0.5 second (using -webkit-transition:-webkit-transform 0.5s;).

Are there any solutions about this issue?

Thank you!

  • 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-24T04:49:52+00:00Added an answer on May 24, 2026 at 4:49 am

    You’d have to use animation rather than transitions:

    @-webkit-keyframes myAnimation{
        from {
            -webkit-transform: rotate(0deg) scale(1);
        }
        50% {
            -webkit-transform: rotate(90deg) scale(0.8);
        }
        to {
            -webkit-transform: rotate(180deg) scale(1);
        }
    }
    
    
    div {
        -webkit-animation-duration: 1s;
    }
    div:hover {
        -webkit-animation-name: myAnimation;
        -webkit-transform: rotate(180deg) scale(1);
    }
    

    Here’s a demo.

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

Sidebar

Related Questions

I have added some dynamic textboxes upon a button click. I need the values
How can I determine when the control key is held down during button click
When i click on a button in the repeater, i wanna display an ajax
I'm implementing a click button for my animation plugin, but I found a problem.
How can I click a Button in one form and update text in a
I need to know if it's possible to call the Click of a button
In my main activity, when you click a button, normally it bundles some info
I have form area in my view. If I click button A , I
Wwhen I click the button on the popup to insert data to database, it
I am trying to figure out how to click a button on a web

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.