From 5fcc049d5b0fd499c8c894401ea150181b5f75bd Mon Sep 17 00:00:00 2001 From: scottjehl Date: Mon, 8 Nov 2010 15:04:12 -0500 Subject: [PATCH] hide page during rendering - prevent fouc. --- themes/default/jquery.mobile.core.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/themes/default/jquery.mobile.core.css b/themes/default/jquery.mobile.core.css index df31e74c..14c4bac5 100644 --- a/themes/default/jquery.mobile.core.css +++ b/themes/default/jquery.mobile.core.css @@ -28,6 +28,9 @@ .ui-loader h1 { font-size: 15px; text-align: center; } .ui-loader .ui-icon { position: static; display: block; opacity: .9; margin: 0 auto; width: 35px; height: 35px; background-color: transparent; } +/*fouc*/ +.ui-mobile-rendering > * { visibility: hidden; } + /*headers, content panels*/ .ui-bar, .ui-body { position: relative; padding: .4em 15px; overflow: hidden; display: block; clear:both; } .ui-bar { font-size: 16px; margin: 0; }