Search Results
Font Awesome Battery Icon (Charge, Energy, Power)
Fontawesome Version 4.X
battery
<i class='fa fa-battery'></i>
battery
<i class='fa fa-battery' style='color: white'></i>
battery
<i class='fa fa-battery' style='color: red'></i>
battery
<i class='fa fa-battery' style='color: blue'></i>
battery
<i class='fa fa-battery' style='color: #f3da35'></i>
How to add Font Awesome battery Icon ?
Font Awesome Icon fa fa battery Icon can be added to any web page simply as below. You can integrate Icon in web pages by just adding following below syntax & icon code.
HTML Code
Get complete html code for icon battery
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'>
</head>
<body>
<i class='fa fa-battery'></i>
</body>
</html>
Tags
Charge,energy,power
Change Font Awesome Icon Battery Color
Sometimes we need icons in different color, as we suggested by adding css style we can change color. Here we have created one example to change color of icons with css classes.
<style>
.blue-color {
color:blue;
}
.green-color {
color:green;
}
.teal-color {
color:teal;
}
.yellow-color {
color:yellow;
}
.red-color {
color:red;
}
</style>
<i class='fa fa-battery blue-color'></i>
<i class='fa fa-battery green-color'></i>
<i class='fa fa-battery teal-color'></i>
<i class='fa fa-battery yellow-color'></i>
<i class='fa fa-battery red-color'></i>
Output of the above example will be as below-
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'>
Battery Icon Font Awesome - FAQs
⭐What is the Font Awesome Battery Icon code?Icon Code is - fa fa-battery.
⭐ What does the fa fa-battery Icon mean?fa fa-battery is the Icon code of Font Awesome Battery.
⭐ Can we add fa fa-battery Icon in different sizes?Yes, you can Icon of fa fa-battery in various pixels.
⭐ How to add a Blue color Font Awesome Battery Icon?Add the blue color Battery icon of the font awesome by using code: fa fa-battery style='color: blue;'.
⭐ How to make white color icon of a Font Awesome Battery?To change the Battery icon to white color use code: fa fa-battery style='color: white;'.
Advertisements
Advertisements