Font Awesome Glass Icon

Glass Icon is given below. You can use this icon in the same way in your project. First, make sure you have added the Font Awesome Icon library. If this library is added, just add the HTML CSS class fa fa-glass to any element to add the icon. Font Awesome glass Icon can be resized as per your need. You can manage the size of the icon (fa fa glass) by using the font-size CSS style.

You can get steps to add HTML icon Glass in Web, Font Awesome and other framwork.

Fontawesome Version 4.X

glass

<i class='fa fa-glass'></i>

glass

<i class='fa fa-glass' style='color: white'></i>

glass

<i class='fa fa-glass' style='color: red'></i>

glass

<i class='fa fa-glass' style='color: blue'></i>

glass

<i class='fa fa-glass' style='color: #f3da35'></i>
Try it Yourself

How to add Font Awesome glass Icon ?

Font Awesome Icon fa fa glass 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.

Icon -
<i class='fa fa-glass'></i>
Icon Code -
fa fa-glass

HTML Code

Get complete html code for icon glass

                    
                    <!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-glass'></i>
                        </body>
                    </html>                    

Font Awesome Icon glass Icon | fa fa glass | HTML, CSS

Adding Font Awesome Icon HTML Glass(fa fa-glass) in web project is very simple. You need to add the icon class along with fa, it is basically main class and mandatory for icons so do not forget to add this class. You can customize Font Awesome Icon glass Icon Glass as per your requirement, suppose that you need to chnage the color of Glass icon or change the size of size. It is pretty simple to change color of icon Glass just add style="color:red" it will make font color red. On the same way you can change size of Glass icon by just adding style="font-size:50px;". Smililarly you can add border color, shadow and other font styles to Glass. Hope this icon fullfilled your need. Thanks for visiting us.

Change Font Awesome Icon Glass 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-glass blue-color'></i> <i class='fa fa-glass green-color'></i> <i class='fa fa-glass teal-color'></i> <i class='fa fa-glass yellow-color'></i> <i class='fa fa-glass red-color'></i>

Output of the above example will be as below-


Note- Make Sure You have included the below Font Awesome file in header-
            
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'>            
            
Related Icons

Glass Icon Font Awesome - FAQs

⭐What is the Font Awesome Glass Icon code?

Icon Code is - fa fa-glass.

⭐ What does the fa fa-glass Icon mean?

fa fa-glass is the Icon code of Font Awesome Glass.

⭐ Can we add fa fa-glass Icon in different sizes?

Yes, you can Icon of fa fa-glass in various pixels.

⭐ How to add a Blue color Font Awesome Glass Icon?

Add the blue color Glass icon of the font awesome by using code: fa fa-glass style='color: blue;'.

⭐ How to make white color icon of a Font Awesome Glass?

To change the Glass icon to white color use code: fa fa-glass style='color: white;'.

Advertisements



Advertisements



Looking For More Icons?