First-Order-Alt font awesome icon Usage,CSS Class Name,SVG & CSS Content Code

First-Order-Alt font awesome icon css class name is fa-first-order-alt and CSS Content Code is \f50a.

First-Order-Alt font awesome icon is part of brands icons.

First-Order-Alt font awesome icon usage

We can display First-Order-Alt font awesome icon using 3 different ways depending upon our requirement.

  1. Using CSS Class Name

  2. Using CSS Content Code

  3. Using SVG

First-Order-Alt font awesome icon CSS class name

To display First-Order-Alt font awesome icon, add predefined class name i.e.,fa-first-order-alt (with prefix fa-) to the i tag.

And we need to add corresponding font awesome icon style for the First-Order-Alt icon.

First-Order-Alt icon has 1 icon style i.e.,brands. We need to append icon style class fab.

<i class='fab fa-first-order-alt'></i>

Output:

First-Order-Alt font awesome icon CSS Content Code

We can display First-Order-Alt font awesome icon using it’s CSS Content Code \f50a

Use the following HTML code

<li><span class='First-Order-Alt fontawesomeicon'></span>First-Order-Alt</li>

Apply CSS code

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

.First-Order-Alt::before {
   font: var(--fa-font-brands);
    content: ' \f50a';
 }</style>

Output:

  • First-Order-Alt
  • For the detailed tutorial visit https://www.angularjswiki.com/fontawesome/csscontentcode/

    First-Order-Alt font awesome icon SVG

    Use the following icon SVG to display First-Order-Alt font awesome icon.

    <svg class='fontawesomesvg' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 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="M248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm0 488.21C115.34 496.21 7.79 388.66 7.79 256S115.34 15.79 248 15.79 488.21 123.34 488.21 256 380.66 496.21 248 496.21zm0-459.92C126.66 36.29 28.29 134.66 28.29 256S126.66 475.71 248 475.71 467.71 377.34 467.71 256 369.34 36.29 248 36.29zm0 431.22c-116.81 0-211.51-94.69-211.51-211.51S131.19 44.49 248 44.49 459.51 139.19 459.51 256 364.81 467.51 248 467.51zm186.23-162.98a191.613 191.613 0 0 1-20.13 48.69l-74.13-35.88 61.48 54.82a193.515 193.515 0 0 1-37.2 37.29l-54.8-61.57 35.88 74.27a190.944 190.944 0 0 1-48.63 20.23l-27.29-78.47 4.79 82.93c-8.61 1.18-17.4 1.8-26.33 1.8s-17.72-.62-26.33-1.8l4.76-82.46-27.15 78.03a191.365 191.365 0 0 1-48.65-20.2l35.93-74.34-54.87 61.64a193.85 193.85 0 0 1-37.22-37.28l61.59-54.9-74.26 35.93a191.638 191.638 0 0 1-20.14-48.69l77.84-27.11-82.23 4.76c-1.16-8.57-1.78-17.32-1.78-26.21 0-9 .63-17.84 1.82-26.51l82.38 4.77-77.94-27.16a191.726 191.726 0 0 1 20.23-48.67l74.22 35.92-61.52-54.86a193.85 193.85 0 0 1 37.28-37.22l54.76 61.53-35.83-74.17a191.49 191.49 0 0 1 48.65-20.13l26.87 77.25-4.71-81.61c8.61-1.18 17.39-1.8 26.32-1.8s17.71.62 26.32 1.8l-4.74 82.16 27.05-77.76c17.27 4.5 33.6 11.35 48.63 20.17l-35.82 74.12 54.72-61.47a193.13 193.13 0 0 1 37.24 37.23l-61.45 54.77 74.12-35.86a191.515 191.515 0 0 1 20.2 48.65l-77.81 27.1 82.24-4.75c1.19 8.66 1.82 17.5 1.82 26.49 0 8.88-.61 17.63-1.78 26.19l-82.12-4.75 77.72 27.09z"/></svg>
    
    

    Use the following HTML code

    <p>This <svg class='fontawesomesvg' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 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="M248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm0 488.21C115.34 496.21 7.79 388.66 7.79 256S115.34 15.79 248 15.79 488.21 123.34 488.21 256 380.66 496.21 248 496.21zm0-459.92C126.66 36.29 28.29 134.66 28.29 256S126.66 475.71 248 475.71 467.71 377.34 467.71 256 369.34 36.29 248 36.29zm0 431.22c-116.81 0-211.51-94.69-211.51-211.51S131.19 44.49 248 44.49 459.51 139.19 459.51 256 364.81 467.51 248 467.51zm186.23-162.98a191.613 191.613 0 0 1-20.13 48.69l-74.13-35.88 61.48 54.82a193.515 193.515 0 0 1-37.2 37.29l-54.8-61.57 35.88 74.27a190.944 190.944 0 0 1-48.63 20.23l-27.29-78.47 4.79 82.93c-8.61 1.18-17.4 1.8-26.33 1.8s-17.72-.62-26.33-1.8l4.76-82.46-27.15 78.03a191.365 191.365 0 0 1-48.65-20.2l35.93-74.34-54.87 61.64a193.85 193.85 0 0 1-37.22-37.28l61.59-54.9-74.26 35.93a191.638 191.638 0 0 1-20.14-48.69l77.84-27.11-82.23 4.76c-1.16-8.57-1.78-17.32-1.78-26.21 0-9 .63-17.84 1.82-26.51l82.38 4.77-77.94-27.16a191.726 191.726 0 0 1 20.23-48.67l74.22 35.92-61.52-54.86a193.85 193.85 0 0 1 37.28-37.22l54.76 61.53-35.83-74.17a191.49 191.49 0 0 1 48.65-20.13l26.87 77.25-4.71-81.61c8.61-1.18 17.39-1.8 26.32-1.8s17.71.62 26.32 1.8l-4.74 82.16 27.05-77.76c17.27 4.5 33.6 11.35 48.63 20.17l-35.82 74.12 54.72-61.47a193.13 193.13 0 0 1 37.24 37.23l-61.45 54.77 74.12-35.86a191.515 191.515 0 0 1 20.2 48.65l-77.81 27.1 82.24-4.75c1.19 8.66 1.82 17.5 1.82 26.49 0 8.88-.61 17.63-1.78 26.19l-82.12-4.75 77.72 27.09z"/></svg>
     First-Order-Alt displayed using SVG</p>
    

    Apply CSS code

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

    Output:

    This First-Order-Alt displayed using SVG

    Change First-Order-Alt font awesome icon size

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

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

    Output:

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

    First-Order-Alt font awesome icon with Fixed Width

    All the font awesome icons does not have same width.

    For example First-Order-Alt 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-first-order-alt fa-fw fa-3x'></i>Fixed Width<i style='border:1px solid;' class='fab fa-first-order-alt 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

    First-Order-Alt font awesome icon Border

    To add border to First-Order-Alt font awesome icon, use fa-border class.

    <i class='fab fa-first-order-alt fa-border fa-3x'></i>
    

    Output:

    Pull First-Order-Alt font awesome icon To the left

    To pull First-Order-Alt icon to the left of the container use fa-pull-left class.

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

    Output:

    ... The text after First-Order-Alt Icon will be displayed on the right side of the icon.

    Pull First-Order-Alt font awesome icon To the left

    To pull First-Order-Alt icon to the right of the container use fa-pull-right class.

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

    Output:

    ... The text after First-Order-Alt Icon will be displayed on the left side of the icon.

    Animate First-Order-Alt font awesome icon

    To animate First-Order-Alt font awesome icon, use fa-spin class.

    <i class='fab fa-first-order-alt fa-spin fa-3x'></i>
    

    Output:

    Animate First-Order-Alt font awesome icon with steps

    While animating the font awesome icon,We can rotate First-Order-Alt icon in 8 steps instead of uniform rotation.

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

    <i class='fab fa-first-order-alt fa-spin fa-pulse fa-3x'></i>
    

    Output:

    Rotate First-Order-Alt font awesome icon

    To rotate First-Order-Alt font awesome icon, Use fa-rotate-x class

    Where ‘x’ represents degree of rotation.

    <div>
    <i class='fab fa-first-order-alt fa-3x'>R</i>normal<br/><br/>
    <i class='fab fa-first-order-alt fa-rotate-90 fa-3x'>R</i> fa-rotate-90<br/><br/> 
    <i class='fab fa-first-order-alt fa-rotate-180  fa-3x'>R</i> fa-rotate-180<br/><br/> 
    <i class='fab fa-first-order-alt 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 First-Order-Alt font awesome icon

    To flip First-Order-Alt font awesome icon horizontally and vertically use fa-flip-horizontal and fa-flip-vertical classes.

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

    Output:

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

    Combine First-Order-Alt 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 First-Order-Alt 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-first-order-alt fa-stack-1x'></i>
        </span>
          First-Order-Alt on fa-square<br>
        <span class='fa-stack fa-lg'>
            <i class='fas fa-circle fa-stack-2x'></i>
            <i class='fab fa-first-order-alt fa-stack-1x fa-inverse'></i>
        </span>
          First-Order-Alt on fa-circle<br>
    
        <span class='fa-stack fa-lg'>
            <i class='fab fa-first-order-alt fa-stack-1x'></i>
            <i class='fas fa-ban fa-stack-2x'></i>
        </span>
          First-Order-Alt on fa-ban
    </div>
    

    Output:

    First-Order-Alt on fa-square
    First-Order-Alt on fa-circle
    First-Order-Alt on fa-ban
    Avatar

    Arunkumar Gudelli

    Liked this post? Subscribe