Hello Coders, hope you all are doing well and today we see something new and very funny type thing which you guys like it very much, I hope.
Please comment below for a thumbs up.
Go below for a live view
So let’s start our code, start with HTML,
<link rel="stylesheet" type="text/css" href="characterwalkinganimation.css">
The main part of this task is the CSS code. For animate the character, we have to write CSS which I gave below,
border-bottom: 7px dashed black;
/*this is the image which is animated below*/
background: url("Cartoon.png") no-repeat;
/*code below shows the speed of the steps*/
animation: walk 1.2s steps(8) infinite,
forward 5s linear infinite;
/*Code below use for walking animation*/
Above is the complete code of the character walking animation, you can try and also make your own.
If you want anything please comment below
See the Pen Character walking animation Using CSS3 and HTML by Bikash Panda (@phpcodertech) on CodePen.
4 Replies to “Character walking animation Using CSS3 and HTML”
I need this character image
Please provide your correct mail ID for images.
Now we provide the download link on same post.
You can check
Thanks for supporting.
How can I make character to walk from BOTTOM to TOP of the laptop screen.
How can I show character going inside the room again from Bottom to Top of the screen. (I.e only Backside of the character will be shown moving)