components.slider: to CSS syntax