Free-Code-Camp font awesome icon Usage,CSS Class Name,SVG & CSS Content Code

Free-Code-Camp font awesome icon css class name is fa-free-code-camp and CSS Content Code is \f2c5.

Free-Code-Camp font awesome icon is part of brands icons.

Free-Code-Camp font awesome icon usage

We can display Free-Code-Camp font awesome icon using 3 different ways depending upon our requirement.

  1. Using CSS Class Name

  2. Using CSS Content Code

  3. Using SVG

Free-Code-Camp font awesome icon CSS class name

To display Free-Code-Camp font awesome icon, add predefined class name i.e.,fa-free-code-camp (with prefix fa-) to the i tag.

And we need to add corresponding font awesome icon style for the Free-Code-Camp icon.

Free-Code-Camp icon has 1 icon style i.e.,brands. We need to append icon style class fab.

<i class='fab fa-free-code-camp'></i>

Output:

Free-Code-Camp font awesome icon CSS Content Code

We can display Free-Code-Camp font awesome icon using it’s CSS Content Code \f2c5

Use the following HTML code

<li><span class='Free-Code-Camp fontawesomeicon'></span>Free-Code-Camp</li>

Apply CSS code

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

.Free-Code-Camp::before {
   font: var(--fa-font-brands);
    content: ' \f2c5';
 }</style>

Output:

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

    Free-Code-Camp font awesome icon SVG

    Use the following icon SVG to display Free-Code-Camp font awesome icon.

    <svg class='fontawesomesvg' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 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="M97.22,96.21c10.36-10.65,16-17.12,16-21.9,0-2.76-1.92-5.51-3.83-7.42A14.81,14.81,0,0,0,101,64.05c-8.48,0-20.92,8.79-35.84,25.69C23.68,137,2.51,182.81,3.37,250.34s17.47,117,54.06,161.87C76.22,435.86,90.62,448,100.9,448a13.55,13.55,0,0,0,8.37-3.84c1.91-2.76,3.81-5.63,3.81-8.38,0-5.63-3.86-12.2-13.2-20.55-44.45-42.33-67.32-97-67.48-165C32.25,188.8,54,137.83,97.22,96.21ZM239.47,420.07c.58.37.91.55.91.55Zm93.79.55.17-.13C333.24,420.62,333.17,420.67,333.26,420.62Zm3.13-158.18c-16.24-4.15,50.41-82.89-68.05-177.17,0,0,15.54,49.38-62.83,159.57-74.27,104.35,23.46,168.73,34,175.23-6.73-4.35-47.4-35.7,9.55-128.64,11-18.3,25.53-34.87,43.5-72.16,0,0,15.91,22.45,7.6,71.13C287.7,364,354,342.91,355,343.94c22.75,26.78-17.72,73.51-21.58,76.55,5.49-3.65,117.71-78,33-188.1C360.43,238.4,352.62,266.59,336.39,262.44ZM510.88,89.69C496,72.79,483.52,64,475,64a14.81,14.81,0,0,0-8.39,2.84c-1.91,1.91-3.83,4.66-3.83,7.42,0,4.78,5.6,11.26,16,21.9,43.23,41.61,65,92.59,64.82,154.06-.16,68-23,122.63-67.48,165-9.34,8.35-13.18,14.92-13.2,20.55,0,2.75,1.9,5.62,3.81,8.38A13.61,13.61,0,0,0,475.1,448c10.28,0,24.68-12.13,43.47-35.79,36.59-44.85,53.14-94.38,54.06-161.87S552.32,137,510.88,89.69Z"/></svg>
    
    

    Use the following HTML code

    <p>This <svg class='fontawesomesvg' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 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="M97.22,96.21c10.36-10.65,16-17.12,16-21.9,0-2.76-1.92-5.51-3.83-7.42A14.81,14.81,0,0,0,101,64.05c-8.48,0-20.92,8.79-35.84,25.69C23.68,137,2.51,182.81,3.37,250.34s17.47,117,54.06,161.87C76.22,435.86,90.62,448,100.9,448a13.55,13.55,0,0,0,8.37-3.84c1.91-2.76,3.81-5.63,3.81-8.38,0-5.63-3.86-12.2-13.2-20.55-44.45-42.33-67.32-97-67.48-165C32.25,188.8,54,137.83,97.22,96.21ZM239.47,420.07c.58.37.91.55.91.55Zm93.79.55.17-.13C333.24,420.62,333.17,420.67,333.26,420.62Zm3.13-158.18c-16.24-4.15,50.41-82.89-68.05-177.17,0,0,15.54,49.38-62.83,159.57-74.27,104.35,23.46,168.73,34,175.23-6.73-4.35-47.4-35.7,9.55-128.64,11-18.3,25.53-34.87,43.5-72.16,0,0,15.91,22.45,7.6,71.13C287.7,364,354,342.91,355,343.94c22.75,26.78-17.72,73.51-21.58,76.55,5.49-3.65,117.71-78,33-188.1C360.43,238.4,352.62,266.59,336.39,262.44ZM510.88,89.69C496,72.79,483.52,64,475,64a14.81,14.81,0,0,0-8.39,2.84c-1.91,1.91-3.83,4.66-3.83,7.42,0,4.78,5.6,11.26,16,21.9,43.23,41.61,65,92.59,64.82,154.06-.16,68-23,122.63-67.48,165-9.34,8.35-13.18,14.92-13.2,20.55,0,2.75,1.9,5.62,3.81,8.38A13.61,13.61,0,0,0,475.1,448c10.28,0,24.68-12.13,43.47-35.79,36.59-44.85,53.14-94.38,54.06-161.87S552.32,137,510.88,89.69Z"/></svg>
     Free-Code-Camp 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 Free-Code-Camp displayed using SVG

    Change Free-Code-Camp font awesome icon size

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

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

    Output:

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

    Free-Code-Camp font awesome icon with Fixed Width

    All the font awesome icons does not have same width.

    For example Free-Code-Camp 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-free-code-camp fa-fw fa-3x'></i>Fixed Width<i style='border:1px solid;' class='fab fa-free-code-camp 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

    Free-Code-Camp font awesome icon Border

    To add border to Free-Code-Camp font awesome icon, use fa-border class.

    <i class='fab fa-free-code-camp fa-border fa-3x'></i>
    

    Output:

    Pull Free-Code-Camp font awesome icon To the left

    To pull Free-Code-Camp icon to the left of the container use fa-pull-left class.

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

    Output:

    ... The text after Free-Code-Camp Icon will be displayed on the right side of the icon.

    Pull Free-Code-Camp font awesome icon To the left

    To pull Free-Code-Camp icon to the right of the container use fa-pull-right class.

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

    Output:

    ... The text after Free-Code-Camp Icon will be displayed on the left side of the icon.

    Animate Free-Code-Camp font awesome icon

    To animate Free-Code-Camp font awesome icon, use fa-spin class.

    <i class='fab fa-free-code-camp fa-spin fa-3x'></i>
    

    Output:

    Animate Free-Code-Camp font awesome icon with steps

    While animating the font awesome icon,We can rotate Free-Code-Camp icon in 8 steps instead of uniform rotation.

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

    <i class='fab fa-free-code-camp fa-spin fa-pulse fa-3x'></i>
    

    Output:

    Rotate Free-Code-Camp font awesome icon

    To rotate Free-Code-Camp font awesome icon, Use fa-rotate-x class

    Where ‘x’ represents degree of rotation.

    <div>
    <i class='fab fa-free-code-camp fa-3x'>R</i>normal<br/><br/>
    <i class='fab fa-free-code-camp fa-rotate-90 fa-3x'>R</i> fa-rotate-90<br/><br/> 
    <i class='fab fa-free-code-camp fa-rotate-180  fa-3x'>R</i> fa-rotate-180<br/><br/> 
    <i class='fab fa-free-code-camp 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 Free-Code-Camp font awesome icon

    To flip Free-Code-Camp font awesome icon horizontally and vertically use fa-flip-horizontal and fa-flip-vertical classes.

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

    Output:

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

    Combine Free-Code-Camp 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 Free-Code-Camp 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-free-code-camp fa-stack-1x'></i>
        </span>
          Free-Code-Camp on fa-square<br>
        <span class='fa-stack fa-lg'>
            <i class='fas fa-circle fa-stack-2x'></i>
            <i class='fab fa-free-code-camp fa-stack-1x fa-inverse'></i>
        </span>
          Free-Code-Camp on fa-circle<br>
    
        <span class='fa-stack fa-lg'>
            <i class='fab fa-free-code-camp fa-stack-1x'></i>
            <i class='fas fa-ban fa-stack-2x'></i>
        </span>
          Free-Code-Camp on fa-ban
    </div>
    

    Output:

    Free-Code-Camp on fa-square
    Free-Code-Camp on fa-circle
    Free-Code-Camp on fa-ban