From e8e95494fc8cd4520e4592afd823e7898386d752 Mon Sep 17 00:00:00 2001 From: Manduro Date: Thu, 8 Nov 2012 13:58:08 +0100 Subject: [PATCH] Add CSS transition support --- responsiveslides.css | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/responsiveslides.css b/responsiveslides.css index ab664b0..1c63bd3 100644 --- a/responsiveslides.css +++ b/responsiveslides.css @@ -29,4 +29,17 @@ float: left; width: 100%; border: 0; - } \ No newline at end of file + } + +.rslides .rslides1_on { + opacity: 1; + } + +.rslides li { /* Change duration when using option "speed" */ + opacity: 0; + transition: opacity 1s ease-in-out; + -o-transition: opacity 1s ease-in-out; + -ms-transition: opacity 1s ease-in-out; + -moz-transition: opacity 1s ease-in-out; + -webkit-transition: opacity 1s ease-in-out; + } \ No newline at end of file