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

Sith font awesome icon css class name is fa-sith and CSS Content Code is \f512.

Sith font awesome icon is part of brands icons.

Sith font awesome icon usage

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

  1. Using CSS Class Name

  2. Using CSS Content Code

  3. Using SVG

Sith font awesome icon CSS class name

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

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

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

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

Output:

Sith font awesome icon CSS Content Code

We can display Sith font awesome icon using it’s CSS Content Code \f512

Use the following HTML code

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

Apply CSS code

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

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

Output:

.fontawesomeicon::before { display: inline-block; text-rendering: auto; -webkit-font-smoothing: antialiased; } .Sith::before { font: var(--fa-font-brands); content: ' \f512'; }
  • Sith
  • For the detailed tutorial visit https://www.angularjswiki.com/fontawesome/csscontentcode/

    Sith font awesome icon SVG

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

    <svg class='fontawesomesvg' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 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="M0 32l69.71 118.75-58.86-11.52 69.84 91.03a146.741 146.741 0 0 0 0 51.45l-69.84 91.03 58.86-11.52L0 480l118.75-69.71-11.52 58.86 91.03-69.84c17.02 3.04 34.47 3.04 51.48 0l91.03 69.84-11.52-58.86L448 480l-69.71-118.78 58.86 11.52-69.84-91.03c3.03-17.01 3.04-34.44 0-51.45l69.84-91.03-58.86 11.52L448 32l-118.75 69.71 11.52-58.9-91.06 69.87c-8.5-1.52-17.1-2.29-25.71-2.29s-17.21.78-25.71 2.29l-91.06-69.87 11.52 58.9L0 32zm224 99.78c31.8 0 63.6 12.12 87.85 36.37 48.5 48.5 48.49 127.21 0 175.7s-127.2 48.46-175.7-.03c-48.5-48.5-48.49-127.21 0-175.7 24.24-24.25 56.05-36.34 87.85-36.34zm0 36.66c-22.42 0-44.83 8.52-61.92 25.61-34.18 34.18-34.19 89.68 0 123.87s89.65 34.18 123.84 0c34.18-34.18 34.19-89.68 0-123.87-17.09-17.09-39.5-25.61-61.92-25.61z"/></svg>
    
    

    Use the following HTML code

    <p>This <svg class='fontawesomesvg' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 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="M0 32l69.71 118.75-58.86-11.52 69.84 91.03a146.741 146.741 0 0 0 0 51.45l-69.84 91.03 58.86-11.52L0 480l118.75-69.71-11.52 58.86 91.03-69.84c17.02 3.04 34.47 3.04 51.48 0l91.03 69.84-11.52-58.86L448 480l-69.71-118.78 58.86 11.52-69.84-91.03c3.03-17.01 3.04-34.44 0-51.45l69.84-91.03-58.86 11.52L448 32l-118.75 69.71 11.52-58.9-91.06 69.87c-8.5-1.52-17.1-2.29-25.71-2.29s-17.21.78-25.71 2.29l-91.06-69.87 11.52 58.9L0 32zm224 99.78c31.8 0 63.6 12.12 87.85 36.37 48.5 48.5 48.49 127.21 0 175.7s-127.2 48.46-175.7-.03c-48.5-48.5-48.49-127.21 0-175.7 24.24-24.25 56.05-36.34 87.85-36.34zm0 36.66c-22.42 0-44.83 8.52-61.92 25.61-34.18 34.18-34.19 89.68 0 123.87s89.65 34.18 123.84 0c34.18-34.18 34.19-89.68 0-123.87-17.09-17.09-39.5-25.61-61.92-25.61z"/></svg>
     Sith displayed using SVG</p>
    

    Apply CSS code

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

    Output:

    .fontawesomesvg {width: 1em; height: 1em; vertical-align: -.125em; }

    This Sith displayed using SVG

    Change Sith font awesome icon size

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

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

    Output:

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

    Sith font awesome icon with Fixed Width

    All the font awesome icons does not have same width.

    For example Sith 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-sith fa-fw fa-3x'></i>Fixed Width<i style='border:1px solid;' class='fab fa-sith 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

    Sith font awesome icon Border

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

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

    Output:

    Pull Sith font awesome icon To the left

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

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

    Output:

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

    Pull Sith font awesome icon To the left

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

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

    Output:

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

    Animate Sith font awesome icon

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

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

    Output:

    Animate Sith font awesome icon with steps

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

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

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

    Output:

    Rotate Sith font awesome icon

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

    Where ‘x’ represents degree of rotation.

    <div>
    <i class='fab fa-sith fa-3x'>R</i>normal<br/><br/>
    <i class='fab fa-sith fa-rotate-90 fa-3x'>R</i> fa-rotate-90<br/><br/> 
    <i class='fab fa-sith fa-rotate-180  fa-3x'>R</i> fa-rotate-180<br/><br/> 
    <i class='fab fa-sith 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 Sith font awesome icon

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

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

    Output:

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

    Combine Sith 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 Sith 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-sith fa-stack-1x'></i>
        </span>
          Sith on fa-square<br>
        <span class='fa-stack fa-lg'>
            <i class='fas fa-circle fa-stack-2x'></i>
            <i class='fab fa-sith fa-stack-1x fa-inverse'></i>
        </span>
          Sith on fa-circle<br>
    
        <span class='fa-stack fa-lg'>
            <i class='fab fa-sith fa-stack-1x'></i>
            <i class='fas fa-ban fa-stack-2x'></i>
        </span>
          Sith on fa-ban
    </div>
    

    Output:

    Sith on fa-square
    Sith on fa-circle
    Sith on fa-ban