joelambert / Flux-Slider

CSS3 Animation based image transitions
http://www.joelambert.co.uk/flux
Other
1.42k stars 285 forks source link

Move the CSS styles out of JS #15

Closed avaly closed 7 years ago

avaly commented 13 years ago

The CSS styles for the helper elements (pagination, caption, next/previous links) should be moved to an external CSS file, to allow easy overriding and customization. Otherwise, we have to use the !important flag to override the inline styles set by the JS code.

The next/previous buttons don't even have a class name set, so customizing them without CSS3 selectors is very difficult.

joelambert commented 13 years ago

Hi,

Yeah this is on the roadmap & I agree that its important so that custom styling can be applied without the dreaded !important.

I'll close this ticket when its done, thanks again for the feedback