Man walking on Earth animation using css html

Hello everyone, hope you all are doing well. I think after some bunch of HTML CSS animation snippets, I hope you know we transform the animation on our way. On today’s time, CSS animations are very needful for because of the speed of the site. On somewhere images and other animation tools gives us animated GIF on large sizes.

For the above reason suitable is we use CSS animation. Today we learn about how we can transform an image of GIF on the circle and how this is possible.

And see below for a live view

So let’s start with our HTML code where we place the images which we use on the animation and set with the design.

ManWalking.html

On the above HTML file, we link the CSS file using the link tag and after that set the image on DIV. We animate the Globe image on circle and Man Walking GIF on the Globe. For this, we write some CSS code, where we animate these images and GIF. See below,

manwalking.css

On the above CSS, I explain all the code on below step by step, how you adjust the image on the screen and how to fix the image size and position.

On the above code snippet, .circle class which is set on the main DIV where both images are placed. On that code we use

for centered the whole div and inner content.

And after that, all below keyframes are use for walk animate the man on that circle.

That’s all if you have anything you want from me or from this blog you can comment below and if you like this and want to more like this animation please go our HTML CSS part.

See the Pen
Man Walking on Earth using CSS HTML
by Bikash Panda (@phpcodertech)
on CodePen.

https://static.codepen.io/assets/embed/ei.js

Was this article helpful?
YesNo

By Bikash

My name is Bikash Kr. Panda. I own and operate PHPCODER.TECH. I am a web Programmer by profession and working on more than 50 projects to date. Currently I am working on the web-based project and all the CMS and frameworks which are based on PHP.

Leave a Reply

Your email address will not be published. Required fields are marked *