Galactic-Republic font awesome icon Usage,CSS Class Name,SVG & CSS Content Code

Galactic-Republic font awesome icon css class name is fa-galactic-republic and CSS Content Code is \f50c.

Galactic-Republic font awesome icon is part of brands icons.

Galactic-Republic font awesome icon usage

We can display Galactic-Republic font awesome icon using 3 different ways depending upon our requirement.

  1. Using CSS Class Name

  2. Using CSS Content Code

  3. Using SVG

Galactic-Republic font awesome icon CSS class name

To display Galactic-Republic font awesome icon, add predefined class name i.e.,fa-galactic-republic (with prefix fa-) to the i tag.

And we need to add corresponding font awesome icon style for the Galactic-Republic icon.

Galactic-Republic icon has 1 icon style i.e.,brands. We need to append icon style class fab.

<i class='fab fa-galactic-republic'></i>

Output:

Galactic-Republic font awesome icon CSS Content Code

We can display Galactic-Republic font awesome icon using it’s CSS Content Code \f50c

Use the following HTML code

<li><span class='Galactic-Republic fontawesomeicon'></span>Galactic-Republic</li>

Apply CSS code

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

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

Output:

  • Galactic-Republic
  • For the detailed tutorial visit https://www.angularjswiki.com/fontawesome/csscontentcode/

    Galactic-Republic font awesome icon SVG

    Use the following icon SVG to display Galactic-Republic 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 504C111.25 504 0 392.75 0 256S111.25 8 248 8s248 111.25 248 248-111.25 248-248 248zm0-479.47C120.37 24.53 16.53 128.37 16.53 256S120.37 487.47 248 487.47 479.47 383.63 479.47 256 375.63 24.53 248 24.53zm27.62 21.81v24.62a185.933 185.933 0 0 1 83.57 34.54l17.39-17.36c-28.75-22.06-63.3-36.89-100.96-41.8zm-55.37.07c-37.64 4.94-72.16 19.8-100.88 41.85l17.28 17.36h.08c24.07-17.84 52.55-30.06 83.52-34.67V46.41zm12.25 50.17v82.87c-10.04 2.03-19.42 5.94-27.67 11.42l-58.62-58.59-21.93 21.93 58.67 58.67c-5.47 8.23-9.45 17.59-11.47 27.62h-82.9v31h82.9c2.02 10.02 6.01 19.31 11.47 27.54l-58.67 58.69 21.93 21.93 58.62-58.62a77.873 77.873 0 0 0 27.67 11.47v82.9h31v-82.9c10.05-2.03 19.37-6.06 27.62-11.55l58.67 58.69 21.93-21.93-58.67-58.69c5.46-8.23 9.47-17.52 11.5-27.54h82.87v-31h-82.87c-2.02-10.02-6.03-19.38-11.5-27.62l58.67-58.67-21.93-21.93-58.67 58.67c-8.25-5.49-17.57-9.47-27.62-11.5V96.58h-31zm183.24 30.72l-17.36 17.36a186.337 186.337 0 0 1 34.67 83.67h24.62c-4.95-37.69-19.83-72.29-41.93-101.03zm-335.55.13c-22.06 28.72-36.91 63.26-41.85 100.91h24.65c4.6-30.96 16.76-59.45 34.59-83.52l-17.39-17.39zM38.34 283.67c4.92 37.64 19.75 72.18 41.8 100.9l17.36-17.39c-17.81-24.07-29.92-52.57-34.51-83.52H38.34zm394.7 0c-4.61 30.99-16.8 59.5-34.67 83.6l17.36 17.36c22.08-28.74 36.98-63.29 41.93-100.96h-24.62zM136.66 406.38l-17.36 17.36c28.73 22.09 63.3 36.98 100.96 41.93v-24.64c-30.99-4.63-59.53-16.79-83.6-34.65zm222.53.05c-24.09 17.84-52.58 30.08-83.57 34.67v24.57c37.67-4.92 72.21-19.79 100.96-41.85l-17.31-17.39h-.08z"/></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 504C111.25 504 0 392.75 0 256S111.25 8 248 8s248 111.25 248 248-111.25 248-248 248zm0-479.47C120.37 24.53 16.53 128.37 16.53 256S120.37 487.47 248 487.47 479.47 383.63 479.47 256 375.63 24.53 248 24.53zm27.62 21.81v24.62a185.933 185.933 0 0 1 83.57 34.54l17.39-17.36c-28.75-22.06-63.3-36.89-100.96-41.8zm-55.37.07c-37.64 4.94-72.16 19.8-100.88 41.85l17.28 17.36h.08c24.07-17.84 52.55-30.06 83.52-34.67V46.41zm12.25 50.17v82.87c-10.04 2.03-19.42 5.94-27.67 11.42l-58.62-58.59-21.93 21.93 58.67 58.67c-5.47 8.23-9.45 17.59-11.47 27.62h-82.9v31h82.9c2.02 10.02 6.01 19.31 11.47 27.54l-58.67 58.69 21.93 21.93 58.62-58.62a77.873 77.873 0 0 0 27.67 11.47v82.9h31v-82.9c10.05-2.03 19.37-6.06 27.62-11.55l58.67 58.69 21.93-21.93-58.67-58.69c5.46-8.23 9.47-17.52 11.5-27.54h82.87v-31h-82.87c-2.02-10.02-6.03-19.38-11.5-27.62l58.67-58.67-21.93-21.93-58.67 58.67c-8.25-5.49-17.57-9.47-27.62-11.5V96.58h-31zm183.24 30.72l-17.36 17.36a186.337 186.337 0 0 1 34.67 83.67h24.62c-4.95-37.69-19.83-72.29-41.93-101.03zm-335.55.13c-22.06 28.72-36.91 63.26-41.85 100.91h24.65c4.6-30.96 16.76-59.45 34.59-83.52l-17.39-17.39zM38.34 283.67c4.92 37.64 19.75 72.18 41.8 100.9l17.36-17.39c-17.81-24.07-29.92-52.57-34.51-83.52H38.34zm394.7 0c-4.61 30.99-16.8 59.5-34.67 83.6l17.36 17.36c22.08-28.74 36.98-63.29 41.93-100.96h-24.62zM136.66 406.38l-17.36 17.36c28.73 22.09 63.3 36.98 100.96 41.93v-24.64c-30.99-4.63-59.53-16.79-83.6-34.65zm222.53.05c-24.09 17.84-52.58 30.08-83.57 34.67v24.57c37.67-4.92 72.21-19.79 100.96-41.85l-17.31-17.39h-.08z"/></svg>
     Galactic-Republic displayed using SVG</p>
    

    Apply CSS code

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

    Output:

    This Galactic-Republic displayed using SVG

    Change Galactic-Republic font awesome icon size

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

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

    Output:

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

    Galactic-Republic font awesome icon with Fixed Width

    All the font awesome icons does not have same width.

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

    Galactic-Republic font awesome icon Border

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

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

    Output:

    Pull Galactic-Republic font awesome icon To the left

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

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

    Output:

    ... The text after Galactic-Republic Icon will be displayed on the right side of the icon.

    Pull Galactic-Republic font awesome icon To the left

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

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

    Output:

    ... The text after Galactic-Republic Icon will be displayed on the left side of the icon.

    Animate Galactic-Republic font awesome icon

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

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

    Output:

    Animate Galactic-Republic font awesome icon with steps

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

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

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

    Output:

    Rotate Galactic-Republic font awesome icon

    To rotate Galactic-Republic font awesome icon, Use fa-rotate-x class

    Where ‘x’ represents degree of rotation.

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

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

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

    Output:

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

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

    Output:

    Galactic-Republic on fa-square
    Galactic-Republic on fa-circle
    Galactic-Republic on fa-ban
    Liked this post? Subscribe