css animation slider



Slider without Javascript. Learned from Online Tutorial

Page here
Github Download

Step1:
html
There are five slide section among div classed slider.
The container is the paragrapy outside the silder.
Each slide gets some words content and an image as background showing.

Step2:
CSS


 Google font imported.
The slider takes 100%width with position.
Each slide should be hidden with infinite animation named slider.


0%-5% transform visibility from hidden to visible,meanwhile the opacity 0 to 1.
5%-25% stay visible 
25%-30% transform visibility and opacity



 The style of image and content which is upper layer of image.


The animation delay every four seconds for each slide.

More CSS slider  examples:
View swither without js 
CSS slider without js


Popular posts from this blog

Fancyapps — easily build overlay windows with carousel

Meet Mantine: A TS-Based Open-Source React Components Library

Meet Tippy.js: The Complete Tooltip Popover Plugin