Hornbill font awesome icon Usage,CSS Class Name,SVG & CSS Content Code

Hornbill font awesome icon css class name is fa-hornbill and CSS Content Code is \f592.

Hornbill font awesome icon is part of brands icons.

Hornbill font awesome icon usage

We can display Hornbill font awesome icon using 3 different ways depending upon our requirement.

  1. Using CSS Class Name

  2. Using CSS Content Code

  3. Using SVG

Hornbill font awesome icon CSS class name

To display Hornbill font awesome icon, add predefined class name i.e.,fa-hornbill (with prefix fa-) to the i tag.

And we need to add corresponding font awesome icon style for the Hornbill icon.

Hornbill icon has 1 icon style i.e.,brands. We need to append icon style class fab.

<i class='fab fa-hornbill'></i>

Output:

Hornbill font awesome icon CSS Content Code

We can display Hornbill font awesome icon using it’s CSS Content Code \f592

Use the following HTML code

<li><span class='Hornbill fontawesomeicon'></span>Hornbill</li>

Apply CSS code

<style> 
.fontawesomeicon::before {
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
 }

.Hornbill::before {
   font: var(--fa-font-brands);
    content: ' \f592';
 }</style>

Output:

  • Hornbill
  • For the detailed tutorial visit https://www.angularjswiki.com/fontawesome/csscontentcode/

    Hornbill font awesome icon SVG

    Use the following icon SVG to display Hornbill font awesome icon.

    <svg class='fontawesomesvg' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 6.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2022 Fonticons, Inc. --><path d="M76.38 370.3a37.8 37.8 0 1 1-32.07-32.42c-78.28-111.35 52-190.53 52-190.53-5.86 43-8.24 91.16-8.24 91.16-67.31 41.49.93 64.06 39.81 72.87a140.38 140.38 0 0 0 131.66 91.94c1.92 0 3.77-.21 5.67-.28l.11 18.86c-99.22 1.39-158.7-29.14-188.94-51.6zm108-327.7A37.57 37.57 0 0 0 181 21.45a37.95 37.95 0 1 0-31.17 54.22c-22.55 29.91-53.83 89.57-52.42 190l21.84-.15c0-.9-.14-1.77-.14-2.68A140.42 140.42 0 0 1 207 132.71c8-37.71 30.7-114.3 73.8-44.29 0 0 48.14 2.38 91.18 8.24 0 0-77.84-128-187.59-54.06zm304.19 134.17a37.94 37.94 0 1 0-53.84-28.7C403 126.13 344.89 99 251.28 100.33l.14 22.5c2.7-.15 5.39-.41 8.14-.41a140.37 140.37 0 0 1 130.49 88.76c39.1 9 105.06 31.58 38.46 72.54 0 0-2.34 48.13-8.21 91.16 0 0 133.45-81.16 49-194.61a37.45 37.45 0 0 0 19.31-3.5zM374.06 436.24c21.43-32.46 46.42-89.69 45.14-179.66l-19.52.14c.08 2.06.3 4.07.3 6.15a140.34 140.34 0 0 1-91.39 131.45c-8.85 38.95-31.44 106.66-72.77 39.49 0 0-48.12-2.34-91.19-8.22 0 0 79.92 131.34 191.9 51a37.5 37.5 0 0 0 3.64 14 37.93 37.93 0 1 0 33.89-54.29z"/></svg>
    
    

    Use the following HTML code

    <p>This <svg class='fontawesomesvg' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 6.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2022 Fonticons, Inc. --><path d="M76.38 370.3a37.8 37.8 0 1 1-32.07-32.42c-78.28-111.35 52-190.53 52-190.53-5.86 43-8.24 91.16-8.24 91.16-67.31 41.49.93 64.06 39.81 72.87a140.38 140.38 0 0 0 131.66 91.94c1.92 0 3.77-.21 5.67-.28l.11 18.86c-99.22 1.39-158.7-29.14-188.94-51.6zm108-327.7A37.57 37.57 0 0 0 181 21.45a37.95 37.95 0 1 0-31.17 54.22c-22.55 29.91-53.83 89.57-52.42 190l21.84-.15c0-.9-.14-1.77-.14-2.68A140.42 140.42 0 0 1 207 132.71c8-37.71 30.7-114.3 73.8-44.29 0 0 48.14 2.38 91.18 8.24 0 0-77.84-128-187.59-54.06zm304.19 134.17a37.94 37.94 0 1 0-53.84-28.7C403 126.13 344.89 99 251.28 100.33l.14 22.5c2.7-.15 5.39-.41 8.14-.41a140.37 140.37 0 0 1 130.49 88.76c39.1 9 105.06 31.58 38.46 72.54 0 0-2.34 48.13-8.21 91.16 0 0 133.45-81.16 49-194.61a37.45 37.45 0 0 0 19.31-3.5zM374.06 436.24c21.43-32.46 46.42-89.69 45.14-179.66l-19.52.14c.08 2.06.3 4.07.3 6.15a140.34 140.34 0 0 1-91.39 131.45c-8.85 38.95-31.44 106.66-72.77 39.49 0 0-48.12-2.34-91.19-8.22 0 0 79.92 131.34 191.9 51a37.5 37.5 0 0 0 3.64 14 37.93 37.93 0 1 0 33.89-54.29z"/></svg>
     Hornbill displayed using SVG</p>
    

    Apply CSS code

    
      <style>
        .fontawesomesvg {width: 1em;
          height: 1em;
          vertical-align: -.125em;
        }
      </style>
    
    

    Output:

    This Hornbill displayed using SVG

    Change Hornbill font awesome icon size

    To increase Hornbill font awesome icon size, use the fa-lg(33 % increase), fa-2x, fa-3x, fa-4x, or fa-5x classes along with icon class \f592. Increase in icon size will be relative to their parent container.

    <i class='fab fa-hornbill fa-lg'>fa-lg</i><br/>
    <i class='fab fa-hornbill fa-2x'>fa-2x</i><br/>
    <i class='fab fa-hornbill fa-3x'>fa-3x</i><br/>
    <i class='fab fa-hornbill fa-4x'>fa-4x</i><br/>
    <i class='fab fa-hornbill fa-5x'>fa-5x</i><br/>
    
    

    Output:

    fa-lg
    fa-2x
    fa-3x
    fa-4x
    fa-5x

    Hornbill font awesome icon with Fixed Width

    All the font awesome icons does not have same width.

    For example Hornbill icon and home icon may not have same height and width.

    So to display two icons with fixed width and height we can use fa-fw class.

    <i style='border:1px solid;' class='fab fa-hornbill fa-fw fa-3x'></i>Fixed Width<i style='border:1px solid;' class='fab fa-hornbill fa-3x'></i>Normal<br/>
    <i style='border:1px solid;' class='fas fa-home fa-fw fa-3x'></i>Fixed Width<i style='border:1px solid;' class='fas fa-home fa-3x'></i>Normal<br/>
    
    

    Output:

    Fixed WidthNormal
    Fixed WidthNormal

    Hornbill font awesome icon Border

    To add border to Hornbill font awesome icon, use fa-border class.

    <i class='fab fa-hornbill fa-border fa-3x'></i>
    

    Output:

    Pull Hornbill font awesome icon To the left

    To pull Hornbill icon to the left of the container use fa-pull-left class.

    <div style='width: 200px;'>
    <i class='fab fa-hornbill fa-pull-left fa-3x'></i>
      ... The text after Hornbill Icon will be displayed on the right side of the icon.
    </div>
    <div style = 'clear: both;'></div>
    

    Output:

    ... The text after Hornbill Icon will be displayed on the right side of the icon.

    Pull Hornbill font awesome icon To the left

    To pull Hornbill icon to the right of the container use fa-pull-right class.

    <div style='width: 200px;'>
    <i class='fab fa-hornbill fa-pull-right fa-3x'></i>
      ... The text after Hornbill Icon will be displayed on the left side of the icon.
    </div>
    <div style = 'clear: both;'></div>
    

    Output:

    ... The text after Hornbill Icon will be displayed on the left side of the icon.

    Animate Hornbill font awesome icon

    To animate Hornbill font awesome icon, use fa-spin class.

    <i class='fab fa-hornbill fa-spin fa-3x'></i>
    

    Output:

    Animate Hornbill font awesome icon with steps

    While animating the font awesome icon,We can rotate Hornbill icon in 8 steps instead of uniform rotation.

    We can use fa-pulse icon along with fa-spin class.

    <i class='fab fa-hornbill fa-spin fa-pulse fa-3x'></i>
    

    Output:

    Rotate Hornbill font awesome icon

    To rotate Hornbill font awesome icon, Use fa-rotate-x class

    Where ‘x’ represents degree of rotation.

    <div>
    <i class='fab fa-hornbill fa-3x'>R</i>normal<br/><br/>
    <i class='fab fa-hornbill fa-rotate-90 fa-3x'>R</i> fa-rotate-90<br/><br/> 
    <i class='fab fa-hornbill fa-rotate-180  fa-3x'>R</i> fa-rotate-180<br/><br/> 
    <i class='fab fa-hornbill fa-rotate-270 fa-3x'>R</i> fa-rotate-270<br/><br/>
    </div>
    

    Output:

    Rnormal

    R fa-rotate-90

    R fa-rotate-180

    R fa-rotate-270

    Flip Hornbill font awesome icon

    To flip Hornbill font awesome icon horizontally and vertically use fa-flip-horizontal and fa-flip-vertical classes.

    <div>
    <i class='fab fa-hornbill fa-3x'>F</i> Normal <br>
    <i class='fab fa-hornbill fa-flip-horizontal fa-3x'>F</i> fa-flip-horizontal<br>
    <i class='fab fa-hornbill fa-flip-vertical fa-3x'>F</i> fa-flip-vertical<br>
    </div>
    

    Output:

    F Normal
    F fa-flip-horizontal
    F fa-flip-vertical

    Combine Hornbill font awesome icon with other font awesome icons

    In font awesome icons,using stacking we can combine multiple icons and display it as one icon.

    To do that use the fa-stack class on the parent, the fa-stack-1x for the regularly sized icon, and fa-stack-2x for the larger icon.

    And use class fa-inverse for an alternative icon color.

    In the below example, I am displaying Hornbill font awesome icon on top of icons like fa-square,fa-circle and fa-ban.

    And used fa-inverse in the second example to invert the color of the icon.

    <div>
        <span class='fa-stack fa-lg'>
            <i class='far fa-square fa-stack-2x'></i>
            <i class='fab fa-hornbill fa-stack-1x'></i>
        </span>
          Hornbill on fa-square<br>
        <span class='fa-stack fa-lg'>
            <i class='fas fa-circle fa-stack-2x'></i>
            <i class='fab fa-hornbill fa-stack-1x fa-inverse'></i>
        </span>
          Hornbill on fa-circle<br>
    
        <span class='fa-stack fa-lg'>
            <i class='fab fa-hornbill fa-stack-1x'></i>
            <i class='fas fa-ban fa-stack-2x'></i>
        </span>
          Hornbill on fa-ban
    </div>
    

    Output:

    Hornbill on fa-square
    Hornbill on fa-circle
    Hornbill on fa-ban
    Liked this post? Subscribe