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

Cc-Amazon-Pay font awesome icon css class name is fa-cc-amazon-pay and CSS Content Code is \f42d.

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

Cc-Amazon-Pay font awesome icon usage

We can display Cc-Amazon-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-Amazon-Pay font awesome icon CSS class name

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

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

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

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

Output:

Cc-Amazon-Pay font awesome icon CSS Content Code

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

Use the following HTML code

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

Apply CSS code

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

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

Output:

  • Cc-Amazon-Pay
  • For the detailed tutorial visit https://www.angularjswiki.com/fontawesome/csscontentcode/

    Cc-Amazon-Pay font awesome icon SVG

    Use the following icon SVG to display Cc-Amazon-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="M124.7 201.8c.1-11.8 0-23.5 0-35.3v-35.3c0-1.3.4-2 1.4-2.7 11.5-8 24.1-12.1 38.2-11.1 12.5.9 22.7 7 28.1 21.7 3.3 8.9 4.1 18.2 4.1 27.7 0 8.7-.7 17.3-3.4 25.6-5.7 17.8-18.7 24.7-35.7 23.9-11.7-.5-21.9-5-31.4-11.7-.9-.8-1.4-1.6-1.3-2.8zm154.9 14.6c4.6 1.8 9.3 2 14.1 1.5 11.6-1.2 21.9-5.7 31.3-12.5.9-.6 1.3-1.3 1.3-2.5-.1-3.9 0-7.9 0-11.8 0-4-.1-8 0-12 0-1.4-.4-2-1.8-2.2-7-.9-13.9-2.2-20.9-2.9-7-.6-14-.3-20.8 1.9-6.7 2.2-11.7 6.2-13.7 13.1-1.6 5.4-1.6 10.8.1 16.2 1.6 5.5 5.2 9.2 10.4 11.2zM576 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48zm-207.5 23.9c.4 1.7.9 3.4 1.6 5.1 16.5 40.6 32.9 81.3 49.5 121.9 1.4 3.5 1.7 6.4.2 9.9-2.8 6.2-4.9 12.6-7.8 18.7-2.6 5.5-6.7 9.5-12.7 11.2-4.2 1.1-8.5 1.3-12.9.9-2.1-.2-4.2-.7-6.3-.8-2.8-.2-4.2 1.1-4.3 4-.1 2.8-.1 5.6 0 8.3.1 4.6 1.6 6.7 6.2 7.5 4.7.8 9.4 1.6 14.2 1.7 14.3.3 25.7-5.4 33.1-17.9 2.9-4.9 5.6-10.1 7.7-15.4 19.8-50.1 39.5-100.3 59.2-150.5.6-1.5 1.1-3 1.3-4.6.4-2.4-.7-3.6-3.1-3.7-5.6-.1-11.1 0-16.7 0-3.1 0-5.3 1.4-6.4 4.3-.4 1.1-.9 2.3-1.3 3.4l-29.1 83.7c-2.1 6.1-4.2 12.1-6.5 18.6-.4-.9-.6-1.4-.8-1.9-10.8-29.9-21.6-59.9-32.4-89.8-1.7-4.7-3.5-9.5-5.3-14.2-.9-2.5-2.7-4-5.4-4-6.4-.1-12.8-.2-19.2-.1-2.2 0-3.3 1.6-2.8 3.7zM242.4 206c1.7 11.7 7.6 20.8 18 26.6 9.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6.9 6.8zM493.6 339c-2.7-.7-5.1 0-7.6 1-43.9 18.4-89.5 30.2-136.8 35.8-14.5 1.7-29.1 2.8-43.7 3.2-26.6.7-53.2-.8-79.6-4.3-17.8-2.4-35.5-5.7-53-9.9-37-8.9-72.7-21.7-106.7-38.8-8.8-4.4-17.4-9.3-26.1-14-3.8-2.1-6.2-1.5-8.2 2.1v1.7c1.2 1.6 2.2 3.4 3.7 4.8 36 32.2 76.6 56.5 122 72.9 21.9 7.9 44.4 13.7 67.3 17.5 14 2.3 28 3.8 42.2 4.5 3 .1 6 .2 9 .4.7 0 1.4.2 2.1.3h17.7c.7-.1 1.4-.3 2.1-.3 14.9-.4 29.8-1.8 44.6-4 21.4-3.2 42.4-8.1 62.9-14.7 29.6-9.6 57.7-22.4 83.4-40.1 2.8-1.9 5.7-3.8 8-6.2 4.3-4.4 2.3-10.4-3.3-11.9zm50.4-27.7c-.8-4.2-4-5.8-7.6-7-5.7-1.9-11.6-2.8-17.6-3.3-11-.9-22-.4-32.8 1.6-12 2.2-23.4 6.1-33.5 13.1-1.2.8-2.4 1.8-3.1 3-.6.9-.7 2.3-.5 3.4.3 1.3 1.7 1.6 3 1.5.6 0 1.2 0 1.8-.1l19.5-2.1c9.6-.9 19.2-1.5 28.8-.8 4.1.3 8.1 1.2 12 2.2 4.3 1.1 6.2 4.4 6.4 8.7.3 6.7-1.2 13.1-2.9 19.5-3.5 12.9-8.3 25.4-13.3 37.8-.3.8-.7 1.7-.8 2.5-.4 2.5 1 4 3.4 3.5 1.4-.3 3-1.1 4-2.1 3.7-3.6 7.5-7.2 10.6-11.2 10.7-13.8 17-29.6 20.7-46.6.7-3 1.2-6.1 1.7-9.1.2-4.7.2-9.6.2-14.5z"/></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="M124.7 201.8c.1-11.8 0-23.5 0-35.3v-35.3c0-1.3.4-2 1.4-2.7 11.5-8 24.1-12.1 38.2-11.1 12.5.9 22.7 7 28.1 21.7 3.3 8.9 4.1 18.2 4.1 27.7 0 8.7-.7 17.3-3.4 25.6-5.7 17.8-18.7 24.7-35.7 23.9-11.7-.5-21.9-5-31.4-11.7-.9-.8-1.4-1.6-1.3-2.8zm154.9 14.6c4.6 1.8 9.3 2 14.1 1.5 11.6-1.2 21.9-5.7 31.3-12.5.9-.6 1.3-1.3 1.3-2.5-.1-3.9 0-7.9 0-11.8 0-4-.1-8 0-12 0-1.4-.4-2-1.8-2.2-7-.9-13.9-2.2-20.9-2.9-7-.6-14-.3-20.8 1.9-6.7 2.2-11.7 6.2-13.7 13.1-1.6 5.4-1.6 10.8.1 16.2 1.6 5.5 5.2 9.2 10.4 11.2zM576 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48zm-207.5 23.9c.4 1.7.9 3.4 1.6 5.1 16.5 40.6 32.9 81.3 49.5 121.9 1.4 3.5 1.7 6.4.2 9.9-2.8 6.2-4.9 12.6-7.8 18.7-2.6 5.5-6.7 9.5-12.7 11.2-4.2 1.1-8.5 1.3-12.9.9-2.1-.2-4.2-.7-6.3-.8-2.8-.2-4.2 1.1-4.3 4-.1 2.8-.1 5.6 0 8.3.1 4.6 1.6 6.7 6.2 7.5 4.7.8 9.4 1.6 14.2 1.7 14.3.3 25.7-5.4 33.1-17.9 2.9-4.9 5.6-10.1 7.7-15.4 19.8-50.1 39.5-100.3 59.2-150.5.6-1.5 1.1-3 1.3-4.6.4-2.4-.7-3.6-3.1-3.7-5.6-.1-11.1 0-16.7 0-3.1 0-5.3 1.4-6.4 4.3-.4 1.1-.9 2.3-1.3 3.4l-29.1 83.7c-2.1 6.1-4.2 12.1-6.5 18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1.7-9.1.2-4.7.2-9.6.2-14.5z"/></svg>
     Cc-Amazon-Pay displayed using SVG</p>
    

    Apply CSS code

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

    Output:

    This Cc-Amazon-Pay displayed using SVG

    Change Cc-Amazon-Pay font awesome icon size

    To increase Cc-Amazon-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 \f42d. Increase in icon size will be relative to their parent container.

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

    Output:

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

    Cc-Amazon-Pay font awesome icon with Fixed Width

    All the font awesome icons does not have same width.

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

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

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

    Output:

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

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

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

    Output:

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

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

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

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

    Output:

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

    Animate Cc-Amazon-Pay font awesome icon

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

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

    Output:

    Animate Cc-Amazon-Pay font awesome icon with steps

    While animating the font awesome icon,We can rotate Cc-Amazon-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-amazon-pay fa-spin fa-pulse fa-3x'></i>
    

    Output:

    Rotate Cc-Amazon-Pay font awesome icon

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

    Where ‘x’ represents degree of rotation.

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

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

    <div>
    <i class='fab fa-cc-amazon-pay fa-3x'>F</i> Normal <br>
    <i class='fab fa-cc-amazon-pay fa-flip-horizontal fa-3x'>F</i> fa-flip-horizontal<br>
    <i class='fab fa-cc-amazon-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-Amazon-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-Amazon-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-amazon-pay fa-stack-1x'></i>
        </span>
          Cc-Amazon-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-amazon-pay fa-stack-1x fa-inverse'></i>
        </span>
          Cc-Amazon-Pay on fa-circle<br>
    
        <span class='fa-stack fa-lg'>
            <i class='fab fa-cc-amazon-pay fa-stack-1x'></i>
            <i class='fas fa-ban fa-stack-2x'></i>
        </span>
          Cc-Amazon-Pay on fa-ban
    </div>
    

    Output:

    Cc-Amazon-Pay on fa-square
    Cc-Amazon-Pay on fa-circle
    Cc-Amazon-Pay on fa-ban
    Avatar

    Arunkumar Gudelli

    Liked this post? Subscribe