CSS Battery Animation

CSS Battery Animation.Today in this blog , we gonna learn about CSS Battery Animation Effect for Beginners.

         

CSS Battery Animation Effect

 Hi Friends! 

    Today in this blog, we gonna learn about CSS Battery Animation Effect for Beginners. Button Border Animations, Button Neon Effects, and Button Hover Effects are one of the best attractive and clickable parts of the website. I already uploaded some Creative Animation if you're a beginner let's go and learn it. 

This Battery Animation Effect is nice to develop our skills. In the previous blog, we will learn about CSS Apple Shop Website For Beginners if you're a beginner I will recommend to learn that website design first. If you're learned that and this blog will help you to learn about Battery Animation Effect. In this blog, I will give my video tutorial and source codes to download. if you have any doubts ask me in the comment section.


HTML file

[

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<title>css battery animation</title>

<link rel="stylesheet" type="text/css" href="index.css">

</head>

<body>

<div class="battery">

<div class="box"></div>

<span></span>

<span></span>

<span></span>

<span></span>

<span></span>

</div>

</body>

</html>

]

You can copy this HTML file. and paste it into your HTML file. Now you will learn it clearly. and don't forget to save the file with the extension .HTML . This extension is more important to create a website page.

CSS file 

[

*{

margin: 0;

padding: 0;

box-sizing: border-box;

}

body{

display: flex;

justify-content: center;

align-items: center;

height: 100vh;

width: 100%;

background-color: #262626FF;

}

.battery{

display: flex;

flex-direction: column;

justify-content: center;

align-items: center;

position: relative;

height: 300px;

width: 150px;

border: 5px solid white;

border-radius: 10px;

box-shadow: 1px 1px 60px black;

}

.box{

position: absolute;

height: 30px;

width: 50px;

bottom: 100%;

background-color: white;

}

span{

height: 20%;

width: 95%;

margin: 5px;

border-radius: 10px;

animation: anime 4s linear infinite;

}

.battery::after{

content: '';

display: block;

position: absolute;

height: 100%;

width: 95%;

top: 0;

background-color: #262626FF;

animation: battery 4s linear infinite;

}

@keyframes anime{

0%{

background-color: red;

}

25%{

background-color: orange;

}

50%{

background-color: yellow;

}

100%{

background-color: limegreen;

}

}

@keyframes battery{

0%{

height: 100%;

}

20%{

height: 80%;

}

40%{

height: 60%;

}

60%{

height: 40%;

}

80%{

height: 20%;

}

100%{

height: 0%;

}

}

]

Secondly, you can copy this CSS file. and paste it into your CSS file. and remember the file extension called .CSS . This will help you to design your webpage. If you want more clear in this topic you can watch my video tutorial and If you have any doubts ask me in the comment section.  

Video Tutorial


    Watch this video fully and learn the all Creative Animations to develop your CSS skills. Repeating the code for your practice will help you to learn this Battery Animation Effect more effectively and This video also helps you to learn faster. colourful Battery Animation Effect is one of my favourite CSS effects. I hope this tutorial will be helpful for learning Battery Animation for beginners. I will give you Source Code and you can download it.

 [Download Source Code ##download## ]

COMMENTS

Name

CSS Button Effects,16,CSS Card Effects,7,CSS Creative Effects,6,CSS Loader Effects,8,CSS Login Form Designs,2,CSS Menu Bar,3,CSS Social Media Icons,6,CSS Text Effects,5,Website Design,1,
ltr
item
Code with Sathursan: CSS Battery Animation
CSS Battery Animation
CSS Battery Animation.Today in this blog , we gonna learn about CSS Battery Animation Effect for Beginners.
https://blogger.googleusercontent.com/img/a/AVvXsEik9l-8-zRHUJUFF2etNs_U-Mq0SsX30mj_o-5qNnsN-NLcKwOdZPf6wOsv8KG0fYQWD_VAhzNMg4pn4c_mqyOG-4PgbsdUP1zgN8icEA6rYy4-7xG2mXIjbNrO1iLIHvPLJb4GRD39yflofznL7CgLj9va0OXA1wDONk_owQjEhUJtSs5V_CqNZaQJZw=w640-h360
https://blogger.googleusercontent.com/img/a/AVvXsEik9l-8-zRHUJUFF2etNs_U-Mq0SsX30mj_o-5qNnsN-NLcKwOdZPf6wOsv8KG0fYQWD_VAhzNMg4pn4c_mqyOG-4PgbsdUP1zgN8icEA6rYy4-7xG2mXIjbNrO1iLIHvPLJb4GRD39yflofznL7CgLj9va0OXA1wDONk_owQjEhUJtSs5V_CqNZaQJZw=s72-w640-c-h360
Code with Sathursan
https://code-with-sathursan.blogspot.com/2021/10/css-battery-animation.html
https://code-with-sathursan.blogspot.com/
https://code-with-sathursan.blogspot.com/
https://code-with-sathursan.blogspot.com/2021/10/css-battery-animation.html
true
2726487413666331859
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content