From 58cbd80d676b05da859ae7e5034b2c917f14d2c6 Mon Sep 17 00:00:00 2001 From: Tom Slominski Date: Sun, 22 Mar 2015 15:56:29 +0000 Subject: [PATCH] Prevent running transitions on load (http://www.pencilscoop.com/2014/03/prevent-css-transitions-running-on-page-load/) --- footer.php | 7 +++++++ header.php | 2 +- public/style.css | 7 +++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/footer.php b/footer.php index f1a6163..08b687b 100644 --- a/footer.php +++ b/footer.php @@ -39,5 +39,12 @@ if ( in_array( 'reCAPTCHA', $dependencies ) ) { ?> + + diff --git a/header.php b/header.php index 8b58306..c9046f7 100644 --- a/header.php +++ b/header.php @@ -50,7 +50,7 @@ isq_load_textdomain(); - +
diff --git a/public/style.css b/public/style.css index b569202..2824864 100644 --- a/public/style.css +++ b/public/style.css @@ -42,6 +42,13 @@ body, input { } } +.load * { + -webkit-transition: none !important; + -moz-transition: none !important; + -ms-transition: none !important; + -o-transition: none !important; +} + /* Structure and global design */ a, a:visited { color: #013F6D;