Skip to main content


 

Animated Indian Flag using Html and CSS

Hey guys, hope you enjoyed this video and knew something about that how to make Animated Indian Flag . If you like this video and gained some knowledge then make sure to hit the like and subscribe button and also share this video to your friends and family so that they can also get some knowledge about this.


I you want to see this video "Animated Indian Flag Using html and css" then click 'here'


Source Code


Html code as described in the video 

<!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>Indian Flag</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="flag-box">
        <img src="img/wave-top.png" alt="No image available" class="wave-top">
        <img src="img/wave-bottom.png" alt="No image available" class="wave-bottom">
    </div>
</body>
</html>

CSS code as described in this video 

*{
    margin: 0;
    padding: 0;
}
.flag-box{
    height: 500px;
    width: 700px;
    background-image: url(img/flag-full.png);
    background-size: cover;
    background-position: center;
    margin: 5% auto;
    position:relative;
}
.wave-top{
    top: -50px;
    right: 0;
    position: absolute;
    animation: slide-wave 2s linear infinite;
}
.wave-bottom{
    bottom: -50px;
    right: 0;
    position: absolute;
    animation: slide-wave 3s linear infinite;
}
@keyframes slide-wave{
    0%{
        transform: translateX(0);
    }
    100%{
        transform: translateX(200px);
    }
}







Comments

Popular posts from this blog

3D Design using Python

  What is  Python , What is  Python Programming   language , Why  Python , What is  Python used for ,  Python 3 ,  10 reason why should you learn Python  , Why  python is best for beginner in programming , Learn  Python for free 3D Design Using Python  Hey guys, hope you enjoyed this video and knew something about turtle module and 3D designing in Python also. So make sure to hit the like and subscribe button and also share this video to your friends and family so that they can also get some knowledge about this If you don't know anything or something about turtle module then comment me, I will surely make a full tutorial on it :) If you have any doubt then feel free to ask :) Video's Link            Source Code import turtle as t import colorsys t . bgcolor ( "black" ) t . speed ( "fastest" ) t . pensize ( 2 ) t .setpos( 50 , 0 ) hue = 0.0 t . hideturtle () for i in range ( 400 ):   ...

ATM in Python- Crazy Coding

  What is  Python , What is  Python Programming language , Why  Python,   What is Python used for ,  Python 3.10.0 ,  10 reason why should you learn Python ,  Why Python is best for beginner in programming ,  Learn Python for free ATM Using Python  Hey guys, hope you enjoyed this video and knew something about that how make ATM using Python . Then make sure to hit the like and subscribe button and also share this video to your friends and family so that they can also get some knowledge about this. If you have any doubt about Python basics then comment me, I will surely make a tutorial on it :) If you have any doubt then feel free to ask :) Video's Link Source Code import time print ( "Welcome to the Crazy Coding Bank " ) time . sleep ( 1 ) print ( "Please enter your atm card" ) time . sleep ( 1 ) print ( "You have succesfully entered your atm card" ) time . sleep ( 1 ) user_balance = 500 password = 0000 pin = int ( input ( "Enter you...

Rings in Python

What is  Python , What is  Python Programming language , Why  Python,   What is Python used for ,  Python 3.10.0 ,  10 reason why should you learn Python ,  Why Python is best for beginner in programming ,  Learn Python for free Rings in Python  Hey guys, hope you enjoyed this video and knew something about turtle module and 3D designing in Python . So make sure to hit the like and subscribe button and also share this video to your friends and family so that they can also get some knowledge about this Video's Link                                Source Code ''' Created by Nikhil Mahato Date = 2/2/22 From India ''' import turtle turtle . bgcolor ( 'black' ) turtle . speed ( 0 ) turtle . pensize ( 2 ) turtle . pencolor ( 'red' ) def drawCircle ( radius ):     for i in range ( 10 ):         turtle . circle ( radius )     ...