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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T14:02:45+00:00 2026-06-17T14:02:45+00:00

How do I stop flickering of this div when it’s hovered, it is only

  • 0

How do I stop flickering of this div when it’s hovered, it is only having issue in firefox, chrome is fine

http://jsfiddle.net/GpuUb/

jQuery solutions are fine

CSS

div {
    height: 30px;
    width: 30px;
    background-color: #000;
    margin: 50px;
    border-radius: 15px;
    transition: all 1s;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
}

div:hover {
    height: 300px;
    width: 300px;
    background-color: #000;
    margin: 50px;
    border-radius: 150px;
}
  • 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-17T14:02:47+00:00Added an answer on June 17, 2026 at 2:02 pm

    It’s not so much flickering as it is losing the hover event. Firefox does not detect your mouse in the whitespace portion of the border-radius as a hover. If you move your mouse such that it stays in the black portion, it smoothly transitions.

    I’m not sure if this is a bug in Firefox, the other browsers, or it’s undefined by the spec. From what I’ve read in the CSS3 specification, there’s no discussion about how border-radius might affect the box model. Perhaps by that omission, it shouldn’t affect the box model and then this would be a defect in Firefox.

    You can fix it with a wrapped container div, but that’s not terribly elegant. Here’s a modified version of yours with the wrapper div.

    HTML

    <div id="container"><div id="circle"></div></div>
    

    CSS

    div#container {
        display: inline-block;
        background-color: green;
        margin: 50px;
    }
    div#circle {
        height: 30px;
        width: 30px;
        background-color: #000;
        border-radius: 15px;
        transition: all 1s;
        -webkit-transition: all 1s;
        -moz-transition: all 1s;
    }
    
    div#container:hover div {
        width: 300px;
        height: 300px;
        background-color: #000;
        border-radius: 150px;
    }
    

    Here’s the jsFiddle to play with.

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

Sidebar

Related Questions

As to be viewed at: http://jsfiddle.net/pBt38/5/ I dont know how to stop the flickering
How can I stop this div to move all elements below where you select
How do I stop this warning showing in Eclipse? Warning: trimming empty <div> No,
I have made a jsFiddle: http://jsfiddle.net/Grezzo/JR2Lu/ When you hit the i key on your
How can i stop propagation for link? <script src=http://code.jquery.com/jquery.min.js></script> <script> $(function() { $(#g).click(function(event){ alert(Link
Trying to add a stop function to the Audio object in javascript like this
To stop the user from leaving my page, I'm using this javascript: window.onbeforeunload =
How stop resizing... resizable=no doesnt work help me guys! window.open('http://www.artechin.com/emre/puanhesap.html', 'puan', 'toolbar=0,status=0,width=500,height=423,resizable=no');
I can successfully stop all keys from being pressed with: $this.keydown(false); How can I
Stop running this script? A script on this page is causing Internet Explorer to

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.