From 1943fd71d87b2b83ffb156da8b22ad60e36d2bc0 Mon Sep 17 00:00:00 2001 From: Marcial Cambronero Date: Tue, 16 Jul 2013 22:25:53 -0600 Subject: [PATCH] Added .SCSS with base CSS File so the css of the plugin could be easily added to SASS projects --- _rslides.scss | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 _rslides.scss diff --git a/_rslides.scss b/_rslides.scss new file mode 100644 index 0000000..ef18e33 --- /dev/null +++ b/_rslides.scss @@ -0,0 +1,36 @@ +/*! http://responsiveslides.com v1.54 by @viljamis */ +/* SCSS sintax so you can easily add it to your SASS project*/ + +$slider_class: rslides; //you can change this or add it to your _vars.scss + +.#{$slider_class} { + position: relative; + list-style: none; + overflow: hidden; + width: 100%; + padding: 0; + margin: 0; + + li { + -webkit-backface-visibility: hidden; + position: absolute; + display: none; + width: 100%; + left: 0; + top: 0; + + &:first-child { + position: relative; + display: block; + float: left; + } + } + + img { + display: block; + height: auto; + float: left; + width: 100%; + border: 0; + } +} \ No newline at end of file