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

Ideal font awesome icon css class name is fa-ideal and CSS Content Code is \e013.

Ideal font awesome icon is part of brands icons.

Ideal font awesome icon usage

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

  1. Using CSS Class Name

  2. Using CSS Content Code

  3. Using SVG

Ideal font awesome icon CSS class name

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

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

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

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

Output:

Ideal font awesome icon CSS Content Code

We can display Ideal font awesome icon using it’s CSS Content Code \e013

Use the following HTML code

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

Apply CSS code

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

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

Output:

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

    Ideal font awesome icon SVG

    Use the following icon SVG to display Ideal 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="M125.61,165.48a49.07,49.07,0,1,0,49.06,49.06A49.08,49.08,0,0,0,125.61,165.48ZM86.15,425.84h78.94V285.32H86.15Zm151.46-211.6c0-20-10-22.53-18.74-22.53H204.82V237.5h14.05C228.62,237.5,237.61,234.69,237.61,214.24Zm201.69,46V168.93h22.75V237.5h33.69C486.5,113.08,388.61,86.19,299.67,86.19H204.84V169h14c25.6,0,41.5,17.35,41.5,45.26,0,28.81-15.52,46-41.5,46h-14V425.88h94.83c144.61,0,194.94-67.16,196.72-165.64Zm-109.75,0H273.3V169h54.43v22.73H296v10.58h30V225H296V237.5h33.51Zm74.66,0-5.16-17.67H369.31l-5.18,17.67H340.47L368,168.92h32.35l27.53,91.34ZM299.65,32H32V480H299.65c161.85,0,251-79.73,251-224.52C550.62,172,518,32,299.65,32Zm0,426.92H53.07V53.07H299.65c142.1,0,229.9,64.61,229.9,202.41C529.55,389.57,448.55,458.92,299.65,458.92Zm83.86-264.85L376,219.88H392.4l-7.52-25.81Z"/></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="M125.61,165.48a49.07,49.07,0,1,0,49.06,49.06A49.08,49.08,0,0,0,125.61,165.48ZM86.15,425.84h78.94V285.32H86.15Zm151.46-211.6c0-20-10-22.53-18.74-22.53H204.82V237.5h14.05C228.62,237.5,237.61,234.69,237.61,214.24Zm201.69,46V168.93h22.75V237.5h33.69C486.5,113.08,388.61,86.19,299.67,86.19H204.84V169h14c25.6,0,41.5,17.35,41.5,45.26,0,28.81-15.52,46-41.5,46h-14V425.88h94.83c144.61,0,194.94-67.16,196.72-165.64Zm-109.75,0H273.3V169h54.43v22.73H296v10.58h30V225H296V237.5h33.51Zm74.66,0-5.16-17.67H369.31l-5.18,17.67H340.47L368,168.92h32.35l27.53,91.34ZM299.65,32H32V480H299.65c161.85,0,251-79.73,251-224.52C550.62,172,518,32,299.65,32Zm0,426.92H53.07V53.07H299.65c142.1,0,229.9,64.61,229.9,202.41C529.55,389.57,448.55,458.92,299.65,458.92Zm83.86-264.85L376,219.88H392.4l-7.52-25.81Z"/></svg>
     Ideal displayed using SVG</p>
    

    Apply CSS code

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

    Output:

    This Ideal displayed using SVG

    Change Ideal font awesome icon size

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

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

    Output:

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

    Ideal font awesome icon with Fixed Width

    All the font awesome icons does not have same width.

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

    Ideal font awesome icon Border

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

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

    Output:

    Pull Ideal font awesome icon To the left

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

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

    Output:

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

    Pull Ideal font awesome icon To the left

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

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

    Output:

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

    Animate Ideal font awesome icon

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

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

    Output:

    Animate Ideal font awesome icon with steps

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

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

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

    Output:

    Rotate Ideal font awesome icon

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

    Where ‘x’ represents degree of rotation.

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

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

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

    Output:

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

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

    Output:

    Ideal on fa-square
    Ideal on fa-circle
    Ideal on fa-ban
    Avatar

    Arunkumar Gudelli

    Liked this post? Subscribe