Edit This Code:
See Result »
<!DOCTYPE html> <html> <head> <title>Font Awesome Icons</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="../../cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css"> </head> <body> <h1>fa fa-glass</h1> <i class="fa fa-glass"></i> <i class="fa fa-glass" style="font-size:24px"></i> <i class="fa fa-glass" style="font-size:36px"></i> <i class="fa fa-glass" style="font-size:48px;color:red"></i> <br> <p>Used on a button:</p> <button style="font-size:24px">Button <i class="fa fa-glass"></i></button> </body> <!-- Mirrored from www.w3schools.com/icons/tryit.asp?filename=tryicons_fa-glass by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 13 Mar 2016 11:05:16 GMT --> </html>
Result: