when sliderLen is 0, throw a error
compile less to css with prefix