Continuously Border Color changing CSS Animation

Continuously Color changing CSS Animation
Continuously Color changing CSS Animation



Border.html

<html>

    <head>

        <title>Border Change Color</title>

        <link rel="stylesheet" href="style.css">

    </head>

    <body>

        <div class="background">

            <div class="foreground">

                Hello, welcome to LearnoPhile... This is a border color changing CSS Animation<br>So this is all about making border color change using CSS Keyframes<br>If you like this video then please SUBCRIBE our channel LEARNOPHILE and  Share video with your friends.<br>

                Hit the LIKE button and Notification Bell....Thanks for watching...See you soon in our next video.... :) !!!<br>

                You can get the CODE of this from link in the description... Or you can directly go too our blog - Digi App-Mart (digiappmart.blogspot.com)... !!!

            </div>

        </div>

    </body>

</html>

style.css

.background{
    background-color: chocolate;
    padding: 5px;
    border-radius: 7px;
    animation: bordercolor 7s linear infinite;
}
.foreground{
    background-color: white;
    color: cornflowerblue;
    padding: 5px;
    border-radius: 7px;
}
@keyframes bordercolor{
    0%{background-color: blueviolet}
    30%{background-color: darkorange}
    50%{background-color: chartreuse}
    70%{background-color: deepskyblue}
    100%{background-color: yellow}
}

For live preview go to the following link -
jdoodle.com/h/Jr


Continuous Color Changing Text Animation using CSS | HTML and CSS Tricks

Continuously Border Color changing CSS Animation

Design HERO IMAGE with CSS Effects | CSS EFFECTS | HERO IMAGE | Main Image| WEBSITE DEVELOPMENT





Comments

Popular posts from this blog

Grab the latest Rajasthan Royals' IPL Jersey and related stuffs | Rajasthan Royals | RR

Grab the latest Sunrisers Hyderabad's IPL Jersey and related stuffs | Sunrisers Hyderabad | SRH