From e636f79308fa76f8b26ab60a6a7dc06c354a6086 Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Thu, 18 Feb 2016 21:10:17 +0000 Subject: [PATCH] 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 --- src/wp-admin/css/themes.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-admin/css/themes.css b/src/wp-admin/css/themes.css index 041e74c64a..318126bb70 100644 --- a/src/wp-admin/css/themes.css +++ b/src/wp-admin/css/themes.css @@ -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; }