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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T07:42:37+00:00 2026-05-28T07:42:37+00:00

I have a CSS that makes fading out effect. #mainframe.normal { opacity: 1.0; }

  • 0

I have a CSS that makes fading out effect.

#mainframe.normal
{
    opacity: 1.0;
}
#mainframe.faded
{
    opacity: 0.0;
}
#mainframe
{
  /* Firefox */
  -moz-transition-property: opacity;
  -moz-transition-duration: 3s;
  /* WebKit */
  -webkit-transition-property: opacity;
  -webkit-transition-duration: 3s;
  /* Standard */
  transition-property: opacity;
  transition-duration: 3s;
}

It is controlled by the following script:

document.getElementById('mainframe').className = "faded";

Unfortunately, there is no parameter in CSS, that sets what step should be used, only total time of the whole animation and Bezier function (slow, fast…). I was looking for it in jQuery, but jQuery seems to have no such parameter as well.

Is there a way to set a single frame timeout (or, that is the same, how many frames should be used)?

I need it to try to improve smoothness on iPhone (I presume that lesser steps == higher performance).

Regards,

  • 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-28T07:42:37+00:00Added an answer on May 28, 2026 at 7:42 am

    Looks like you’re looking for the functionality provided by css3 keyframe animations.

    More information is available at the following links:

    https://developer.mozilla.org/en/CSS/CSS_animations

    https://developer.mozilla.org/en/CSS/@keyframes

    Supported in webkit browsers (safari, chrome) and FF5+.

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

Sidebar

Related Questions

I have the following html/css that is causing problems in Firefox 1.5 and 2,
I have the following jQuery script that makes an orange transparent hover effect cover
I have a CSS3 position transition that makes a dive slide from one side
I have a CSS class that makes my links look like nice looking buttons.
I have a bunch of CSS written that makes my site target Mobile first,
I have a CSS rule that makes an image scale on hover by 1.5x.
Is there a script/way, that makes normal CSS :hover more smooth? Idea would be,
I have css that works on all tr tags for the table. so in
I have some CSS that doesn't behave correctly with IE8. It works fine with
I'm writing a webmail product and some emails have body css that changes the

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.