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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T03:57:33+00:00 2026-06-03T03:57:33+00:00

div { transition-property: opacity; transition-duration: 2s; } The above example defines a transition on

  • 0
div {
    transition-property: opacity;
    transition-duration: 2s;
  }

The above example defines a transition on the ‘opacity’ property that, when a new value is assigned to it, will cause a smooth change between the old value and the new value over a period of two seconds. (с) w3c http://www.w3.org/TR/css3-transitions/
How can I determine with jQuery/javascript this new value? Only by parse stylesheet or there is more convenient way?

  • 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-03T03:57:34+00:00Added an answer on June 3, 2026 at 3:57 am

    You can get the value of the opacity with jQuery’s css function, see this fiddle:

    http://jsfiddle.net/RTd3c/ (click OK on the alert boxes quickly!).

    Is this what you were after?

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

Sidebar

Related Questions

I have the -webkit-transition-duration property set on a div, whose height is set by
I'm trying to accomplish a transition effect if you will. On doc ready div
The CSS code: .css3_nudge ul li a { -webkit-transition-property: color, background-color, padding-left, border-right; -webkit-transition-duration:
the div on website below that have search at the bottom and it always
I have a question about rendering speed for the css3 transition property. Suppose I
Animating the background-size property doesn't seem to be working in Chrome or Safari. div
i have this code and it work find except the fadeIn transition.. $(div.thumbnailsContainer).fadeOut(500,function(){ $(div.fullViewContainer).empty();
So I have this Div that has a roll over effect on it where
I'm using mootools 1.4.1 and I'm trying to get a div that 'tweens' the
I have two absolutely positioned div elements that overlap. Both have set z-index values

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.