CSS instructions needed #11

Closed
kikito opened this Issue Oct 11, 2011 · 2 comments

Projects

None yet

2 participants

@kikito
kikito commented Oct 11, 2011

I could not figure out what css rules are needed for a basic carousel to work.

Could you add a carousel.css file with just the rules needed for the carousel to work properly?

@richardscarrott
Owner

I've been meaning to sort out the CSS for some time so I'll pull it out into a separate file when I get the chance, but for now this might help as a basis:

/*
 *  NOTE: a basic CSS reset is required + items must have width & height
 */

.rs-carousel .rs-carousel-mask {
    overflow: hidden;
}

.rs-carousel .rs-carousel-runner {
    position: relative;
}

    .rs-carousel.rs-carousel-horizontal .rs-carousel-item {
         float: left;
    }
@kikito
kikito commented Oct 14, 2011

Thanks, man!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment