Themes: Fix flickering of the theme screenshot on hover in WebKit browsers.

Props JoeFusco.
Fixes #35787.

git-svn-id: https://develop.svn.wordpress.org/trunk@36579 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2016-02-18 21:10:17 +00:00
parent 2d7150e40d
commit e636f79308

View File

@ -132,6 +132,7 @@
display: block;
overflow: hidden;
position: relative;
-webkit-backface-visibility: hidden; /* Prevents flicker of the screenshot on hover. */
-webkit-transition: opacity 0.2s ease-in-out;
transition: opacity 0.2s ease-in-out;
}