Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Hide the slides before the JS is loaded to avoid page jumping

  • Loading branch information...
commit ac0877c7a54e3e796c4223f3522902c38db3b845 1 parent ba06113
@jayj authored
Showing with 10 additions and 0 deletions.
  1. +4 −0 less/slider.less
  2. +6 −0 style.dev.css
View
4 less/slider.less
@@ -25,6 +25,10 @@
/* Slider content */
.slide {
+ /* Hide the slides before the JS is loaded to avoid page jumping */
+ display: none;
+ -webkit-backface-visibility: hidden;
+
.thumbnail,
.slider-video {
float: left;
View
6 style.dev.css
@@ -1248,6 +1248,12 @@ table caption {
max-height: 300px;
}
/* Slider content */
+.slide {
+ /* Hide the slides before the JS is loaded to avoid page jumping */
+
+ display: none;
+ -webkit-backface-visibility: hidden;
+}
.slide .thumbnail,
.slide .slider-video {
float: left;
Please sign in to comment.
Something went wrong with that request. Please try again.