Website Programming: How to Make Skills Bar Animation with Hover
Bandung, Indonesia, October 12, 2020, 18:21PM - In this lesson, we're going to make a skill bar but in this lesson, we will put a little animation named Hover. What is hover? Hover may refer to mouseover, hover describes the act of moving a cursor or touching(in smartphone). You'll notice that this action shows an additional effect/display to the object. The gif above is an example of the result. By default, the mouse pointer is over an object, the object will show more effect like the size of text and picture.
The term hovering implies your computer screen is a 3D space. To put it simply, the object can detect your pointer "if the pointer is over the object". If you've read my other article WEBSITE PROGRAMMING: CREATE A SKILL BAR UI DESIGN PURE HTML & CSS IN RESPONSIVE WAY then I can say that this lesson is the next level. Sadly in this lesson, we're not going to take this responsibility. So, your task is to make it responsive through other articles, search, and learn how to make it responsive.
HTML
This is the last picture of HTML codes, I've explained all the function in HTML and this picture has the same function as the previous picture.
CSS ( style.css )
Here's the advanced from the previous picture. We adjust the style (percent and number) like the size and color, and many other things.
In this picture we're going to deepen into the hover effect, which is when the hover is active, so we have to adjust the number, percent, and h2 from the HTML. Simple, just size and color, after that we come back to the common adjust.
In this section, we're going to put color to the circle which we've made from HTML and a little calculation, I mean when you put a percentage on your skill but the circle doesn't match the percentage, it would make people think "Then why did you put the circle? They didn't match the percentage). So with a simple calculation, you can match the circle to the percentage.
Comments
Post a Comment