You can find plenty of JavaScript-based slider plugins on the web for free. These work great and support all modern browsers, but nowadays you can replicate most of these features with pure CSS.
Mar 17, 2020 They may call it a carousel, slider, slideshow, or gallery. They may not even know what to call it. But whatever word comes out of their mouth, you know immediately what they mean. (And for most of this article, we’ll use carousel, just to keep things clear.) If you’re like many designers, you give a quiet little groan.
- Jssor Slider is touch swipe image slider carousel with 200+ slideshow effects. When touch Jssor Slider, it will freeze and then move to the direction that finger swipes to. It comes with javascript library source code.
- Bootstrap JS Carousel (carousel.js) provides an simple way to use a carousel slider on the web page. In this Step, we will show you our example code, with the help of this code you can extend the bootstrap carousel functionality and create different types of carousel slider.
- Collection of free HTML and pure CSS carousel code examples: responsive, horizontal and vertical. Update of June 2018 collection.
Every carousel has its own style, so there is no best method for building one. But I’ve collected 10 of the best open source snippets that you can use as templates for your own carousels.
These designs range in style and behavior, but they all run on pure CSS code.
Netflix Show Carousel
This Netflix carousel is pretty unique with a hover-to-zoom animation effect for each video. The links in the carousel don’t go anywhere but you could easily embed these to work with videos.
Since this version only uses CSS it’s tougher to include dynamic effects like video modal windows. But you can still use this to create a slider that functions well in all browsers with a Netflix-style hover animation.
Annotated Linear Carousel
Some carousels use annotations to add subtitles and extra context over each slide. You can replicate this effect by cloning this pen written in pure HTML/CSS code.
There are no arrows or dot navigation elements, so the entire thing is click/touch controlled. Just click to the right or left of the carousel and you’ll immediately advance to that side. This rotates infinitely, so you’ll never hit the end either way.
Each transition has a small fading effect which is also controlled through CSS. It’s all very impressive and works great as a simple UI template.
Fading Carousel
Here’s a slightly cleaner fading carousel UI that does include the small dot navigation along with arrows on either side. This is fully controlled through CSS where the arrows work like radio buttons.
Each HTML radio input connects to a different image so you can click to browse through them with ease. The fading effects also run through CSS with mixins from this Sass library for carousels.
Responsive Slideshow
Here’s another radio button slider controlled by CSS and some added captions. But this pen created by Vo Tuan Trung is also fully responsive and should work in any modern browser.
All of the CSS is written in Sass and it uses the Bourbon mixins library for extra features. The sliding animations pan left or right depending on which direction the content is moving. This is a cool effect and surprisingly detailed for only running on CSS code.
CSS3 Testimonials Slider
Custom testimonials are a staple for landing pages and company websites. This testimonial slider is easy to implement and very lightweight using pure CSS for the animations.
These elements follow a modern and simplistic approach to design. Not too much color, texture, or extra design pizzazz.
If you want something a little more detailed check out this related pen by developer Sara Soueidan. It’s a little more compact but also has more flair to the design.
Picture Frame
You can do a lot with CSS transitions and keyframe animations. And this picture frame animation shows how much you can do with just a simple slider.
Each photo moves to either side with a simple sliding animation effect. You can add photos inside regardless of size because even the frame is made with pure CSS. Pretty cool right?
Dark UI
For a darker example you might like this CSS slider built on top of a dark background. It uses bright green highlights to grab attention and strong caption animations.
This slider is incredibly simple to use, plus the animations are top notch. The fact that it runs on just CSS3 is quite impressive. We really do live in the golden age of web design!
CSS Image Carousel
With this image carousel there’s a lot you can change with just a few lines of code. The design is incredibly simple and it uses CSS to create a small frame around the photos.
This is one of the few carousels that doesn’t bother with animations, so the transitions are rough and direct.
But it all works with less than 100 lines of CSS, and there’s no Sass code, so it’s easy to copy/paste this into any layout.
Pure CSS3 Carousel
If you want a clean starting point for a fixed-size image slider then check out this design by Hélio Marcondes.
Each background rotates with the text in a very simple animation. Again this is pretty short with only ~80 lines of CSS and a few dozen lines of HTML.
I would say this is one of the barest templates you’ll find for creating a pure CSS carousel. It’s certainly not perfect but it offers a great starting point.
Text Carousel
Text carousels can work great for testimonials or various quotes on a homepage. And if you want to avoid messy JS code you can use this rotating text carousel built with pure CSS.
Each block of text has its own animation cycle which follows a pattern across five different quotes. You could increase or decrease the number by adding/removing CSS classes which makes it all the better for easy editing.
And if you’re looking for a text-only carousel with a bit more flair check out this example by Matthew Hirsch.
These are some of the best examples I could find online, but I know there are many others. If you’re curious to find more take a look over the carousel tag on CodePen.
Related Posts
Description
Create SEO friendly Image, Logo, Video, Post, WooCommerce Product Carousel and Slider.
Carousel Slider is a touch enabled WordPress plugin that lets you create highly customizable, stylish responsive carousel slider. With Carousel Slider, you can create image carousel using media gallery or custom url, post carousel, video carousel. We have integrated Owl Carousel 2 into our plugin for the ultimate device support.
Looking for a free minimal WordPress theme. Try Shapla
If you like this plugin, please give us 5 star to encourage for future improvement.
Full Feature Set
- Multiple types carousel, images from media gallery, images from URL, videos from youtube and vimeo, posts, and WooCommerce products carousel slider
- Hero slider with background image, title, description, call to action buttons and more
- Posts carousel, support Specific posts, Post Categories, Post Tags, Posts per page, Date range query and ordering
- Video carousel, support custom height and width (Currently only support video from Youtube and Vimeo)
- WooCommerce Product carousel, support Product Categories, Product Tags, Specific Products, Featured Products, Recent Products, Sale Products, Best-Selling Products, Top Rated Products
- Options to hide/show product Title, Rating, Price, Cart Button, Sale Tag, Wishlist Button, Quick View button and options to change color for Title, Button Background, Button text
- Fully responsive, configure the number of items to display for desktop, small desktop, tablet and mobile devices
- Lightweight, only loads stuff when carousel is used
- Navigation and pagination, choose what type of navigation is displayed for your carousel with unlimited colors option
- Works great in touch devices, Touch and Grab enabled
- Supported in all major browsers
- CSS3 3D Acceleration
- Multiple carousel on same page
- Lazy load images
- Support image title, caption, link url
- and more options
Hero Image Slider
Images Carousel using gallery images
Images Carousel using custom URLs
Posts Carousel
WooCommerce Products Carousel
With Page Builder by SiteOrigin
With Visual Composer Website Builder
Using as a Widget
Blocks
This plugin provides 1 block.
Carouselstarresponsive Carousel Slider Bootstrap
- Carousel Slider
Installation
- From your WordPress dashboard go to Plugins > Add New.
- Search for Carousel Slider in Search Plugins box.
- Find the WordPress Plugin named Carousel Slider by Sayful Islam.
- Click Install Now to install the Carousel Slider Plugin.
- The plugin will begin to download and install.
- Now just click Activate to activate the plugin.
If you still need help. visit WordPress codex