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:
parent
2d7150e40d
commit
e636f79308
@ -132,6 +132,7 @@
|
|||||||
display: block;
|
display: block;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
-webkit-backface-visibility: hidden; /* Prevents flicker of the screenshot on hover. */
|
||||||
-webkit-transition: opacity 0.2s ease-in-out;
|
-webkit-transition: opacity 0.2s ease-in-out;
|
||||||
transition: opacity 0.2s ease-in-out;
|
transition: opacity 0.2s ease-in-out;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user