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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T06:32:41+00:00 2026-06-01T06:32:41+00:00

I’ve started playing around with CSS3 transitions in one of my projects, and I

  • 0

I’ve started playing around with CSS3 transitions in one of my projects, and I found that I basically want to have a transition on background color for every element that changes it on hover.

If I do something like

a {
  transition-property: background;
  transition-duration: 0.15s;
  transition-timing-function: ease-out;
  transition-delay: 0;
}

or even

* {
  transition-property: background;
  transition-duration: 0.15s;
  transition-timing-function: ease-out;
  transition-delay: 0;
}

is there any downside? Since it won’t affect the elements that don’t change background color, the only problem that comes to my mind is that it will have some effect on the browser.

Can using too many transition cause the browser to be laggy? Or are there any special cases where I should disable transitions all together?

  • 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-01T06:32:42+00:00Added an answer on June 1, 2026 at 6:32 am

    Transitions will be costly when the animations actually happen, definitely, but I reckon there’s little effect beyond that.

    The universal selector is not as slow as most people make it out to be. It is kind of a waste applying styles to elements that will never use those styles, but that waste is not much to make up for. That said, it’s always best to be specific as to which elements you want to apply transitions to, but in this case I suppose applying a global transition sounds fair, if you can justify doing so.

    I think you just have to be careful not to apply changes on transitioned properties for too many elements. For example, in your case, remember that the :hover state applies to an element as well as all of its ancestors (in desktop browsers with well-defined :hover behavior, anyway).

    For what it’s worth, modern browsers come with hardware acceleration for a number of things (IE9+ for pretty much everything); coupled with modern hardware there’s hardly any discernible performance hit for transitions, at least on desktops and laptops. Mobile hardware (smartphones and tablets) may be more limited, but if you work with responsive design you can easily turn off transitions via @media toggles.

    These are just my two cents. I haven’t played with transitions much myself, but to summarize: I’d rather be specific when applying transitions, but it doesn’t hurt to apply them universally as long as you know what you’re doing.

    Of course, you can always disable transitions on certain elements by making a new rule with whatever selector you use and giving it transition-property: none.

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

Sidebar

Related Questions

I have a French site that I want to parse, but am running into
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
I have a jquery bug and I've been looking for hours now, I can't
Basically, what I'm trying to create is a page of div tags, each has

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.