From bfa6288148508af083cdf857049afea8dea0d13b Mon Sep 17 00:00:00 2001 From: Amadeus Demarzi Date: Wed, 23 Jul 2014 22:36:42 -0700 Subject: [PATCH] Random CSS Performance improvements --- website/source/stylesheets/_header.less | 5 +++++ website/source/stylesheets/main.css | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/website/source/stylesheets/_header.less b/website/source/stylesheets/_header.less index 57b5c4ef1..76ad142c2 100755 --- a/website/source/stylesheets/_header.less +++ b/website/source/stylesheets/_header.less @@ -56,6 +56,11 @@ body.page-sub{ margin-bottom: 0; &.navbar-static-top{ + -webkit-transform:translate3d(0,0,0); + -moz-transform:translate3d(0,0,0); + -ms-transform:translate3d(0,0,0); + -o-transform:translate3d(0,0,0); + transform:translate3d(0,0,0); z-index: 1000; } diff --git a/website/source/stylesheets/main.css b/website/source/stylesheets/main.css index ae6773f03..cf66458e9 100644 --- a/website/source/stylesheets/main.css +++ b/website/source/stylesheets/main.css @@ -126,6 +126,11 @@ body.page-sub #header .main-links.nav > li > a:focus { margin-bottom: 0; } #header.navbar-static-top { + -webkit-transform: translate3d(0, 0, 0); + -moz-transform: translate3d(0, 0, 0); + -ms-transform: translate3d(0, 0, 0); + -o-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); z-index: 1000; } #header a {