com web/php: Accelerate page scrolling: styles/theme-base.css
| From: | Hannes Magnusson | Date: | Mon, 25 Nov 2013 17:32:47 +0000 |
| Subject: | com web/php: Accelerate page scrolling: styles/theme-base.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-17293@lists.php.net to get a copy of this message | ||
Commit: ea905ae8856627e3a696a6260f1b4d51e3359328
Author: Keyvan Akbary <keyvan@funddy.com> Mon, 25 Nov 2013 17:32:47 +0000
Parents: f6d668e4776256bc4ef0b04e38ae0460c8b7f739
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=ea905ae8856627e3a696a6260f1b4d51e3359328
Log:
Accelerate page scrolling
CSS optimisation for better performance on page scrolling
Changed paths:
M styles/theme-base.css
Diff:
diff --git a/styles/theme-base.css b/styles/theme-base.css
index de65b8f..373b0f1 100755
--- a/styles/theme-base.css
+++ b/styles/theme-base.css
@@ -645,6 +645,9 @@ textarea {
}
.navbar-fixed-top {
top: 0;
+ -webkit-transform: translateZ(0);
+ -moz-transform: translateZ(0);
+ transform: translateZ(0);
}
.navbar-fixed-top .navbar-inner,
.navbar-static-top .navbar-inner {