Top Post

6/recent/ticker-posts

Make Slider in CSS by vubwn | Slider using only CSS and HTML

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Slider VU BWN</title>
    <style>
        *{
            margin0px;
            padding0px;
        }
        .slider{
            background-imageurl("images/pic_1.jpg");
            background-sizecover;
            background-repeatno-repeat;
            box-shadow0.3rem 0.3em 0.7rem 0.7rem rgb(151145145);
            width50rem;
            height20rem;
            marginauto;
            margin-top4rem;
            animation: eagle 10s infinite;
        }
        .slider:hover{
            background-imageurl("images/pic_1.jpg");
            background-sizecover;
            background-repeatno-repeat;
            box-shadow0.3rem 0.3em 0.7rem 0.7rem rgb(12123587);
            width50rem;
            height20rem;
            marginauto;
            margin-top4rem;
            animation-play-statepaused;
        }
        @keyframes eagle {
            0%{                
                background-imageurl("images/pic_1.jpg");
                background-sizecover;
            }
            20%{                
                background-imageurl("images/pic_2.jpg");
                background-sizecover;
            }
            40%{                
                background-imageurl("images/pic_3.jpg");
                background-sizecover;
            }
            60%{                
                background-imageurl("images/pic_4.jpg");
                background-sizecover;
            }
            80%{                
                background-imageurl("images/pic_5.jpg");
                background-sizecover;
            }
        }
        .title{
            colorrgb(731313);
            font-size2rem;
            margin-left12rem;
        }
    </style>
</head>
<body>
    <div class="title">THIS IS SLIDER IN CSS ON VU BWN YOUTUBE CHANNGEL KEEP WATCHING!</div>
    <div class="slider"></div>
</body>
</html>
                    
    

                              

 Watch Video For full Details



Post a Comment

0 Comments