Font Awesome Border Style (Design, Boundary, Outline)

In this tutorial, we guide you on how to use Font Awesome border style icon . These icons can add visual distinction to your design, create boundaries,Learn how to change their color, font size and animation in 'Try It' editor


Fontawesome Version 5.X

border style

<i class='fas fa-border-style'></i>

border style

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

border style

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

border style

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

border style

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

How to add Font Awesome border style Icon ?

Font Awesome Icon fas fa border style 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='fas fa-border-style'></i>
Icon Code -
fas fa-border-style

HTML Code

Get complete html code for icon border style

                    
                    <!DOCTYPE html>
                    <html>
                        <head>
                        <title>Page Title</title>
                        <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
                       </head>
                        <body>
                        <i class='fas fa-border-style'></i>
                        </body>
                    </html>                    

Tags

borders,design,boundary,outline,color

Change Font Awesome Icon Border style 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='fas fa-border-style blue-color'></i>
      <i class='fas fa-border-style green-color'></i>
      <i class='fas fa-border-style teal-color'></i>
      <i class='fas fa-border-style yellow-color'></i>
      <i class='fas fa-border-style 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://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">            
            
Related Icons

Advertisements



Advertisements



Looking For More Icons?