I'm trying to stylize the scrollbar using NiceScroll Plugin, I'm doing so with css besides the parameters it offers, the thing is that it creates two HTML elements, and the design I have "has" three elements.
here are the parameters I'm using:
$('.albums').niceScroll({
cursorcolor: '#D289A6',
cursorwidth: '10',
cursorborder: '',
cursorborderradius: '12px',
background: '#fff'
});
Here is the image of the scrollbar:
And here is the jsFiddle I created to reproduce it: http://jsfiddle.net/YKhce/
I'm missing the white "rail", and I donb't want to use :before and :after pseudo-elements because the users will use this mostly in IE.
How to achieve this?