DEV Community

Discussion on: CSS Flicker on Hover!

Collapse
 
pavelstefan profile image
Pavel Stefan

This is my solution to fix the flicker(I tested it on chrome)

<div id="container">
  <button>Hover</button>  
</div>

#container:hover button {
  margin-top: 10px;
}

Collapse
 
annlin profile image
ann lin

another sweet solution! so it's either more css or more html tag.