Create Simple Text Slider / Rotator With CSS, Jquery Without Plugin

In this tutorial I am going to show you how to create simple text slider / rotator with CSS, Jquery without plugin. It is helpful for adding auto rotational testimonial on your website or you can slide any text based div you want with auto rotation and custom rotation speed and timer along with next previous buttons.
text-slider



Create Simple Text Slider / Rotator With CSS, Jquery

HTML

Markup html for text slider in unordered list, In the below example under div container 3 li has been created with some quotes with author name and we need to auto slide these quotes after page load.



CSS

Add some stylesheet on page for styling your text slider.


JS

Finally write jquery code to make you text slider movable with custom speed, In below code you can set slider speed as per your need.




See live demo and download source code.

DEMO | DOWNLOAD

The above code written by Ty Stelmach, you can follow their official repository for future updates.