Cc-Apple-Pay font awesome icon Usage,CSS Class Name,SVG & CSS Content Code

Cc-Apple-Pay font awesome icon css class name is fa-cc-apple-pay and CSS Content Code is \f416.

Cc-Apple-Pay font awesome icon is part of brands icons.

Cc-Apple-Pay font awesome icon usage

We can display Cc-Apple-Pay font awesome icon using 3 different ways depending upon our requirement.

  1. Using CSS Class Name

  2. Using CSS Content Code

  3. Using SVG

Cc-Apple-Pay font awesome icon CSS class name

To display Cc-Apple-Pay font awesome icon, add predefined class name i.e.,fa-cc-apple-pay (with prefix fa-) to the i tag.

And we need to add corresponding font awesome icon style for the Cc-Apple-Pay icon.

Cc-Apple-Pay icon has 1 icon style i.e.,brands. We need to append icon style class fab.

<i class='fab fa-cc-apple-pay'></i>

Output:

Cc-Apple-Pay font awesome icon CSS Content Code

We can display Cc-Apple-Pay font awesome icon using it’s CSS Content Code \f416

Use the following HTML code

<li><span class='Cc-Apple-Pay fontawesomeicon'></span>Cc-Apple-Pay</li>

Apply CSS code

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

.Cc-Apple-Pay::before {
   font: var(--fa-font-brands);
    content: ' \f416';
 }</style>

Output:

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

    Cc-Apple-Pay font awesome icon SVG

    Use the following icon SVG to display Cc-Apple-Pay 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="M302.2 218.4c0 17.2-10.5 27.1-29 27.1h-24.3v-54.2h24.4c18.4 0 28.9 9.8 28.9 27.1zm47.5 62.6c0 8.3 7.2 13.7 18.5 13.7 14.4 0 25.2-9.1 25.2-21.9v-7.7l-23.5 1.5c-13.3.9-20.2 5.8-20.2 14.4zM576 79v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48zM127.8 197.2c8.4.7 16.8-4.2 22.1-10.4 5.2-6.4 8.6-15 7.7-23.7-7.4.3-16.6 4.9-21.9 11.3-4.8 5.5-8.9 14.4-7.9 22.8zm60.6 74.5c-.2-.2-19.6-7.6-19.8-30-.2-18.7 15.3-27.7 16-28.2-8.8-13-22.4-14.4-27.1-14.7-12.2-.7-22.6 6.9-28.4 6.9-5.9 0-14.7-6.6-24.3-6.4-12.5.2-24.2 7.3-30.5 18.6-13.1 22.6-3.4 56 9.3 74.4 6.2 9.1 13.7 19.1 23.5 18.7 9.3-.4 13-6 24.2-6 11.3 0 14.5 6 24.3 5.9 10.2-.2 16.5-9.1 22.8-18.2 6.9-10.4 9.8-20.4 10-21zm135.4-53.4c0-26.6-18.5-44.8-44.9-44.8h-51.2v136.4h21.2v-46.6h29.3c26.8 0 45.6-18.4 45.6-45zm90 23.7c0-19.7-15.8-32.4-40-32.4-22.5 0-39.1 12.9-39.7 30.5h19.1c1.6-8.4 9.4-13.9 20-13.9 13 0 20.2 6 20.2 17.2v7.5l-26.4 1.6c-24.6 1.5-37.9 11.6-37.9 29.1 0 17.7 13.7 29.4 33.4 29.4 13.3 0 25.6-6.7 31.2-17.4h.4V310h19.6v-68zM516 210.9h-21.5l-24.9 80.6h-.4l-24.9-80.6H422l35.9 99.3-1.9 6c-3.2 10.2-8.5 14.2-17.9 14.2-1.7 0-4.9-.2-6.2-.3v16.4c1.2.4 6.5.5 8.1.5 20.7 0 30.4-7.9 38.9-31.8L516 210.9z"/></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="M302.2 218.4c0 17.2-10.5 27.1-29 27.1h-24.3v-54.2h24.4c18.4 0 28.9 9.8 28.9 27.1zm47.5 62.6c0 8.3 7.2 13.7 18.5 13.7 14.4 0 25.2-9.1 25.2-21.9v-7.7l-23.5 1.5c-13.3.9-20.2 5.8-20.2 14.4zM576 79v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48zM127.8 197.2c8.4.7 16.8-4.2 22.1-10.4 5.2-6.4 8.6-15 7.7-23.7-7.4.3-16.6 4.9-21.9 11.3-4.8 5.5-8.9 14.4-7.9 22.8zm60.6 74.5c-.2-.2-19.6-7.6-19.8-30-.2-18.7 15.3-27.7 16-28.2-8.8-13-22.4-14.4-27.1-14.7-12.2-.7-22.6 6.9-28.4 6.9-5.9 0-14.7-6.6-24.3-6.4-12.5.2-24.2 7.3-30.5 18.6-13.1 22.6-3.4 56 9.3 74.4 6.2 9.1 13.7 19.1 23.5 18.7 9.3-.4 13-6 24.2-6 11.3 0 14.5 6 24.3 5.9 10.2-.2 16.5-9.1 22.8-18.2 6.9-10.4 9.8-20.4 10-21zm135.4-53.4c0-26.6-18.5-44.8-44.9-44.8h-51.2v136.4h21.2v-46.6h29.3c26.8 0 45.6-18.4 45.6-45zm90 23.7c0-19.7-15.8-32.4-40-32.4-22.5 0-39.1 12.9-39.7 30.5h19.1c1.6-8.4 9.4-13.9 20-13.9 13 0 20.2 6 20.2 17.2v7.5l-26.4 1.6c-24.6 1.5-37.9 11.6-37.9 29.1 0 17.7 13.7 29.4 33.4 29.4 13.3 0 25.6-6.7 31.2-17.4h.4V310h19.6v-68zM516 210.9h-21.5l-24.9 80.6h-.4l-24.9-80.6H422l35.9 99.3-1.9 6c-3.2 10.2-8.5 14.2-17.9 14.2-1.7 0-4.9-.2-6.2-.3v16.4c1.2.4 6.5.5 8.1.5 20.7 0 30.4-7.9 38.9-31.8L516 210.9z"/></svg>
     Cc-Apple-Pay 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 Cc-Apple-Pay displayed using SVG

    Change Cc-Apple-Pay font awesome icon size

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

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

    Output:

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

    Cc-Apple-Pay font awesome icon with Fixed Width

    All the font awesome icons does not have same width.

    For example Cc-Apple-Pay 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-cc-apple-pay fa-fw fa-3x'></i>Fixed Width<i style='border:1px solid;' class='fab fa-cc-apple-pay 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

    Cc-Apple-Pay font awesome icon Border

    To add border to Cc-Apple-Pay font awesome icon, use fa-border class.

    <i class='fab fa-cc-apple-pay fa-border fa-3x'></i>
    

    Output:

    Pull Cc-Apple-Pay font awesome icon To the left

    To pull Cc-Apple-Pay icon to the left of the container use fa-pull-left class.

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

    Output:

    ... The text after Cc-Apple-Pay Icon will be displayed on the right side of the icon.

    Pull Cc-Apple-Pay font awesome icon To the left

    To pull Cc-Apple-Pay icon to the right of the container use fa-pull-right class.

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

    Output:

    ... The text after Cc-Apple-Pay Icon will be displayed on the left side of the icon.

    Animate Cc-Apple-Pay font awesome icon

    To animate Cc-Apple-Pay font awesome icon, use fa-spin class.

    <i class='fab fa-cc-apple-pay fa-spin fa-3x'></i>
    

    Output:

    Animate Cc-Apple-Pay font awesome icon with steps

    While animating the font awesome icon,We can rotate Cc-Apple-Pay icon in 8 steps instead of uniform rotation.

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

    <i class='fab fa-cc-apple-pay fa-spin fa-pulse fa-3x'></i>
    

    Output:

    Rotate Cc-Apple-Pay font awesome icon

    To rotate Cc-Apple-Pay font awesome icon, Use fa-rotate-x class

    Where ‘x’ represents degree of rotation.

    <div>
    <i class='fab fa-cc-apple-pay fa-3x'>R</i>normal<br/><br/>
    <i class='fab fa-cc-apple-pay fa-rotate-90 fa-3x'>R</i> fa-rotate-90<br/><br/> 
    <i class='fab fa-cc-apple-pay fa-rotate-180  fa-3x'>R</i> fa-rotate-180<br/><br/> 
    <i class='fab fa-cc-apple-pay 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 Cc-Apple-Pay font awesome icon

    To flip Cc-Apple-Pay font awesome icon horizontally and vertically use fa-flip-horizontal and fa-flip-vertical classes.

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

    Output:

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

    Combine Cc-Apple-Pay 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 Cc-Apple-Pay 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-cc-apple-pay fa-stack-1x'></i>
        </span>
          Cc-Apple-Pay on fa-square<br>
        <span class='fa-stack fa-lg'>
            <i class='fas fa-circle fa-stack-2x'></i>
            <i class='fab fa-cc-apple-pay fa-stack-1x fa-inverse'></i>
        </span>
          Cc-Apple-Pay on fa-circle<br>
    
        <span class='fa-stack fa-lg'>
            <i class='fab fa-cc-apple-pay fa-stack-1x'></i>
            <i class='fas fa-ban fa-stack-2x'></i>
        </span>
          Cc-Apple-Pay on fa-ban
    </div>
    

    Output:

    Cc-Apple-Pay on fa-square
    Cc-Apple-Pay on fa-circle
    Cc-Apple-Pay on fa-ban