Wednesday 7 June 2017

Make a table fan with html and css


Animate html tag to make a table fan with the help of css and html.
What you need to make this animation with coding.
# Basic knowledge of html and css.
# Text editor like Notepad. Better if you use any code editor.

List of html tags used
  1. polyline
  2. animate
  3. div
  4. svg
  5. circle
  6. style


Method to make this table fan animation
First Step : Create an div tag and define its height and width with value so the blade of the fan can cover almost the entire area. Because we will rotate the whole div tag so the blades appear to be rotating. Give an class name to this div. After creating div tag create an svg element inside this tag and define its height and width with value of 100%

Step second : Second Step : Now write a new tag polyline inside the svg and make a plus symbol with center. Again create polyline tag and make another plus symbol so the line of both sing make 45° angle.

The look like this after completing the above Step:


Step third : Now create another two div elements and give class name rode and stand.
Step fourth: Lets complete the last step , in this step you have to create an style sheet or create style tag in the above code file. As in below code:--



Now save this text file in html format and run it on your browser.
Download this animation html file

No comments:

Post a Comment