diff --git a/flexslider.css b/flexslider.css index fa25f9d1..ee140f62 100644 --- a/flexslider.css +++ b/flexslider.css @@ -37,7 +37,7 @@ /* FlexSlider Necessary Styles *********************************/ .flexslider {margin: 0; padding: 0;} -.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */ +.flexslider .slides > * {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */ .flexslider .slides img {width: 100%; display: block;} .flex-pauseplay span {text-transform: capitalize;} @@ -47,9 +47,7 @@ html[xmlns] .slides {display: block;} * html .slides {height: 1%;} /* No JavaScript Fallback */ -/* If you are not using another script, such as Modernizr, make sure you - * include js that eliminates this class on page load */ -.no-js .slides > li:first-child {display: block;} +.slides > *:first-child {display: block;} /* FlexSlider Default Theme *********************************/