Rupee-Sign font awesome icon Usage,CSS Class Name,SVG & CSS Content Code

Rupee-Sign font awesome icon css class name is fa-rupee-sign and CSS Content Code is \f156.

Rupee-Sign font awesome icon is part of solid icons.

Rupee-Sign font awesome icon usage

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

  1. Using CSS Class Name

  2. Using CSS Content Code

  3. Using SVG

Rupee-Sign font awesome icon CSS class name

To display Rupee-Sign font awesome icon, add predefined class name i.e.,fa-rupee-sign (with prefix fa-) to the i tag.

And we need to add corresponding font awesome icon style for the Rupee-Sign icon.

Rupee-Sign icon has 1 icon style i.e.,solid. We need to append icon style class fas.

<i class='fas fa-rupee-sign'></i>

Output:

Rupee-Sign font awesome icon CSS Content Code

We can display Rupee-Sign font awesome icon using it’s CSS Content Code \f156

Use the following HTML code

<li><span class='Rupee-Sign fontawesomeicon'></span>Rupee-Sign</li>

Apply CSS code

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

.Rupee-Sign::before {
   font: var(--fa-font-solid);
    content: ' \f156';
 }</style>

Output:

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

    Rupee-Sign font awesome icon SVG

    Use the following icon SVG to display Rupee-Sign 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 64C0 46.3 14.3 32 32 32h80c79.5 0 144 64.5 144 144c0 58.8-35.2 109.3-85.7 131.7l51.4 128.4c6.6 16.4-1.4 35-17.8 41.6s-35-1.4-41.6-17.8L106.3 320H64V448c0 17.7-14.3 32-32 32s-32-14.3-32-32V288 64zM64 256h48c44.2 0 80-35.8 80-80s-35.8-80-80-80H64V256zm256.5 16.4c-.9 6 0 8.7 .4 9.8c.4 1.1 1.4 2.6 4.2 4.9c7.2 5.7 18.7 10 37.9 16.8l1.3 .5c16 5.6 38.7 13.6 55.7 28.1c9.5 8.1 17.9 18.6 23.1 32.3c5.1 13.7 6.1 28.5 3.8 44c-4.2 28.1-20.5 49.3-43.8 60.9c-22.1 11-48.1 12.5-73.2 8l-.2 0 0 0c-9.3-1.8-20.5-5.7-29.3-9c-6-2.3-12.6-4.9-17.7-6.9l0 0c-2.5-1-4.6-1.8-6.3-2.5c-16.5-6.4-24.6-25-18.2-41.4s25-24.6 41.4-18.2c2.6 1 5.2 2 7.9 3.1l0 0c4.8 1.9 9.8 3.9 15.4 6c8.8 3.3 15.3 5.4 18.7 6c15.7 2.8 26.7 .8 32.9-2.3c5-2.5 8-6 9.1-13c1-6.9 .2-10.5-.5-12.3c-.6-1.7-1.8-3.6-4.5-5.9c-6.9-5.8-18.2-10.4-36.9-17l-3-1.1c-15.5-5.4-37-13-53.3-25.9c-9.5-7.5-18.3-17.6-23.7-31c-5.4-13.4-6.6-28-4.4-43.2c8.5-57.1 67-78 116.9-68.9c6.9 1.3 27.3 5.8 35.4 8.4c16.9 5.2 26.3 23.2 21.1 40.1s-23.2 26.3-40.1 21.1c-4.7-1.4-22.3-5.5-27.9-6.5c-14.6-2.7-25.8-.4-32.6 3.2c-6.3 3.3-8.9 7.6-9.5 12z"/></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 64C0 46.3 14.3 32 32 32h80c79.5 0 144 64.5 144 144c0 58.8-35.2 109.3-85.7 131.7l51.4 128.4c6.6 16.4-1.4 35-17.8 41.6s-35-1.4-41.6-17.8L106.3 320H64V448c0 17.7-14.3 32-32 32s-32-14.3-32-32V288 64zM64 256h48c44.2 0 80-35.8 80-80s-35.8-80-80-80H64V256zm256.5 16.4c-.9 6 0 8.7 .4 9.8c.4 1.1 1.4 2.6 4.2 4.9c7.2 5.7 18.7 10 37.9 16.8l1.3 .5c16 5.6 38.7 13.6 55.7 28.1c9.5 8.1 17.9 18.6 23.1 32.3c5.1 13.7 6.1 28.5 3.8 44c-4.2 28.1-20.5 49.3-43.8 60.9c-22.1 11-48.1 12.5-73.2 8l-.2 0 0 0c-9.3-1.8-20.5-5.7-29.3-9c-6-2.3-12.6-4.9-17.7-6.9l0 0c-2.5-1-4.6-1.8-6.3-2.5c-16.5-6.4-24.6-25-18.2-41.4s25-24.6 41.4-18.2c2.6 1 5.2 2 7.9 3.1l0 0c4.8 1.9 9.8 3.9 15.4 6c8.8 3.3 15.3 5.4 18.7 6c15.7 2.8 26.7 .8 32.9-2.3c5-2.5 8-6 9.1-13c1-6.9 .2-10.5-.5-12.3c-.6-1.7-1.8-3.6-4.5-5.9c-6.9-5.8-18.2-10.4-36.9-17l-3-1.1c-15.5-5.4-37-13-53.3-25.9c-9.5-7.5-18.3-17.6-23.7-31c-5.4-13.4-6.6-28-4.4-43.2c8.5-57.1 67-78 116.9-68.9c6.9 1.3 27.3 5.8 35.4 8.4c16.9 5.2 26.3 23.2 21.1 40.1s-23.2 26.3-40.1 21.1c-4.7-1.4-22.3-5.5-27.9-6.5c-14.6-2.7-25.8-.4-32.6 3.2c-6.3 3.3-8.9 7.6-9.5 12z"/></svg>
     Rupee-Sign 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 Rupee-Sign displayed using SVG

    Change Rupee-Sign font awesome icon size

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

    <i class='fas fa-rupee-sign fa-lg'>fa-lg</i><br/>
    <i class='fas fa-rupee-sign fa-2x'>fa-2x</i><br/>
    <i class='fas fa-rupee-sign fa-3x'>fa-3x</i><br/>
    <i class='fas fa-rupee-sign fa-4x'>fa-4x</i><br/>
    <i class='fas fa-rupee-sign fa-5x'>fa-5x</i><br/>
    
    

    Output:

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

    Rupee-Sign font awesome icon with Fixed Width

    All the font awesome icons does not have same width.

    For example Rupee-Sign 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='fas fa-rupee-sign fa-fw fa-3x'></i>Fixed Width<i style='border:1px solid;' class='fas fa-rupee-sign 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

    Rupee-Sign font awesome icon Border

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

    <i class='fas fa-rupee-sign fa-border fa-3x'></i>
    

    Output:

    Pull Rupee-Sign font awesome icon To the left

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

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

    Output:

    ... The text after Rupee-Sign Icon will be displayed on the right side of the icon.

    Pull Rupee-Sign font awesome icon To the left

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

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

    Output:

    ... The text after Rupee-Sign Icon will be displayed on the left side of the icon.

    Animate Rupee-Sign font awesome icon

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

    <i class='fas fa-rupee-sign fa-spin fa-3x'></i>
    

    Output:

    Animate Rupee-Sign font awesome icon with steps

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

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

    <i class='fas fa-rupee-sign fa-spin fa-pulse fa-3x'></i>
    

    Output:

    Rotate Rupee-Sign font awesome icon

    To rotate Rupee-Sign font awesome icon, Use fa-rotate-x class

    Where ‘x’ represents degree of rotation.

    <div>
    <i class='fas fa-rupee-sign fa-3x'>R</i>normal<br/><br/>
    <i class='fas fa-rupee-sign fa-rotate-90 fa-3x'>R</i> fa-rotate-90<br/><br/> 
    <i class='fas fa-rupee-sign fa-rotate-180  fa-3x'>R</i> fa-rotate-180<br/><br/> 
    <i class='fas fa-rupee-sign 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 Rupee-Sign font awesome icon

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

    <div>
    <i class='fas fa-rupee-sign fa-3x'>F</i> Normal <br>
    <i class='fas fa-rupee-sign fa-flip-horizontal fa-3x'>F</i> fa-flip-horizontal<br>
    <i class='fas fa-rupee-sign fa-flip-vertical fa-3x'>F</i> fa-flip-vertical<br>
    </div>
    

    Output:

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

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

    Output:

    Rupee-Sign on fa-square
    Rupee-Sign on fa-circle
    Rupee-Sign on fa-ban