Google-Pay font awesome icon Usage,CSS Class Name,SVG & CSS Content Code
Google-Pay font awesome icon css class name is fa-google-pay and CSS Content Code is \e079.
Google-Pay font awesome icon is part of brands icons.
Google-Pay font awesome icon usage
We can display Google-Pay font awesome icon using 3 different ways depending upon our requirement.
Using CSS Class Name
Using CSS Content Code
Using SVG
Google-Pay font awesome icon CSS class name
To display Google-Pay font awesome icon, add predefined class name i.e.,fa-google-pay (with prefix fa-) to the i tag.
And we need to add corresponding font awesome icon style for the Google-Pay icon.
Google-Pay icon has 1 icon style i.e.,brands.
We need to append icon style class fab.
<i class='fab fa-google-pay'></i>
Output:
Google-Pay font awesome icon CSS Content Code
We can display Google-Pay font awesome icon using it’s CSS Content Code \e079
Use the following HTML code
<li><span class='Google-Pay fontawesomeicon'></span>Google-Pay</li>
Apply CSS code
<style>
.fontawesomeicon::before {
display: inline-block;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
}
.Google-Pay::before {
font: var(--fa-font-brands);
content: ' \e079';
}</style>
Output:
For the detailed tutorial visit https://www.angularjswiki.com/fontawesome/csscontentcode/
Google-Pay font awesome icon SVG
Use the following icon SVG to display Google-Pay font awesome icon.
<svg class='fontawesomesvg' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 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="M105.72,215v41.25h57.1a49.66,49.66,0,0,1-21.14,32.6c-9.54,6.55-21.72,10.28-36,10.28-27.6,0-50.93-18.91-59.3-44.22a65.61,65.61,0,0,1,0-41l0,0c8.37-25.46,31.7-44.37,59.3-44.37a56.43,56.43,0,0,1,40.51,16.08L176.47,155a101.24,101.24,0,0,0-70.75-27.84,105.55,105.55,0,0,0-94.38,59.11,107.64,107.64,0,0,0,0,96.18v.15a105.41,105.41,0,0,0,94.38,59c28.47,0,52.55-9.53,70-25.91,20-18.61,31.41-46.15,31.41-78.91A133.76,133.76,0,0,0,205.38,215Zm389.41-4c-10.13-9.38-23.93-14.14-41.39-14.14-22.46,0-39.34,8.34-50.5,24.86l20.85,13.26q11.45-17,31.26-17a34.05,34.05,0,0,1,22.75,8.79A28.14,28.14,0,0,1,487.79,248v5.51c-9.1-5.07-20.55-7.75-34.64-7.75-16.44,0-29.65,3.88-39.49,11.77s-14.82,18.31-14.82,31.56a39.74,39.74,0,0,0,13.94,31.27c9.25,8.34,21,12.51,34.79,12.51,16.29,0,29.21-7.3,39-21.89h1v17.72h22.61V250C510.25,233.45,505.26,220.34,495.13,211ZM475.9,300.3a37.32,37.32,0,0,1-26.57,11.16A28.61,28.61,0,0,1,431,305.21a19.41,19.41,0,0,1-7.77-15.63c0-7,3.22-12.81,9.54-17.42s14.53-7,24.07-7C470,265,480.3,268,487.64,273.94,487.64,284.07,483.68,292.85,475.9,300.3Zm-93.65-142A55.71,55.71,0,0,0,341.74,142H279.07V328.74H302.7V253.1h39c16,0,29.5-5.36,40.51-15.93.88-.89,1.76-1.79,2.65-2.68A54.45,54.45,0,0,0,382.25,158.26Zm-16.58,62.23a30.65,30.65,0,0,1-23.34,9.68H302.7V165h39.63a32,32,0,0,1,22.6,9.23A33.18,33.18,0,0,1,365.67,220.49ZM614.31,201,577.77,292.7h-.45L539.9,201H514.21L566,320.55l-29.35,64.32H561L640,201Z"/></svg>
Use the following HTML code
<p>This <svg class='fontawesomesvg' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 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="M105.72,215v41.25h57.1a49.66,49.66,0,0,1-21.14,32.6c-9.54,6.55-21.72,10.28-36,10.28-27.6,0-50.93-18.91-59.3-44.22a65.61,65.61,0,0,1,0-41l0,0c8.37-25.46,31.7-44.37,59.3-44.37a56.43,56.43,0,0,1,40.51,16.08L176.47,155a101.24,101.24,0,0,0-70.75-27.84,105.55,105.55,0,0,0-94.38,59.11,107.64,107.64,0,0,0,0,96.18v.15a105.41,105.41,0,0,0,94.38,59c28.47,0,52.55-9.53,70-25.91,20-18.61,31.41-46.15,31.41-78.91A133.76,133.76,0,0,0,205.38,215Zm389.41-4c-10.13-9.38-23.93-14.14-41.39-14.14-22.46,0-39.34,8.34-50.5,24.86l20.85,13.26q11.45-17,31.26-17a34.05,34.05,0,0,1,22.75,8.79A28.14,28.14,0,0,1,487.79,248v5.51c-9.1-5.07-20.55-7.75-34.64-7.75-16.44,0-29.65,3.88-39.49,11.77s-14.82,18.31-14.82,31.56a39.74,39.74,0,0,0,13.94,31.27c9.25,8.34,21,12.51,34.79,12.51,16.29,0,29.21-7.3,39-21.89h1v17.72h22.61V250C510.25,233.45,505.26,220.34,495.13,211ZM475.9,300.3a37.32,37.32,0,0,1-26.57,11.16A28.61,28.61,0,0,1,431,305.21a19.41,19.41,0,0,1-7.77-15.63c0-7,3.22-12.81,9.54-17.42s14.53-7,24.07-7C470,265,480.3,268,487.64,273.94,487.64,284.07,483.68,292.85,475.9,300.3Zm-93.65-142A55.71,55.71,0,0,0,341.74,142H279.07V328.74H302.7V253.1h39c16,0,29.5-5.36,40.51-15.93.88-.89,1.76-1.79,2.65-2.68A54.45,54.45,0,0,0,382.25,158.26Zm-16.58,62.23a30.65,30.65,0,0,1-23.34,9.68H302.7V165h39.63a32,32,0,0,1,22.6,9.23A33.18,33.18,0,0,1,365.67,220.49ZM614.31,201,577.77,292.7h-.45L539.9,201H514.21L566,320.55l-29.35,64.32H561L640,201Z"/></svg>
Google-Pay displayed using SVG</p>
Apply CSS code
<style>
.fontawesomesvg {width: 1em;
height: 1em;
vertical-align: -.125em;
}
</style>
Output:
This Google-Pay displayed using SVG
Change Google-Pay font awesome icon size
To increase Google-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 \e079.
Increase in icon size will be relative to their parent container.
<i class='fab fa-google-pay fa-lg'>fa-lg</i><br/>
<i class='fab fa-google-pay fa-2x'>fa-2x</i><br/>
<i class='fab fa-google-pay fa-3x'>fa-3x</i><br/>
<i class='fab fa-google-pay fa-4x'>fa-4x</i><br/>
<i class='fab fa-google-pay fa-5x'>fa-5x</i><br/>
Output:
fa-lgfa-2x
fa-3x
fa-4x
fa-5x
Google-Pay font awesome icon with Fixed Width
All the font awesome icons does not have same width.
For example Google-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-google-pay fa-fw fa-3x'></i>Fixed Width<i style='border:1px solid;' class='fab fa-google-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 WidthNormalFixed WidthNormal
Google-Pay font awesome icon Border
To add border to Google-Pay font awesome icon, use fa-border class.
<i class='fab fa-google-pay fa-border fa-3x'></i>
Output:
Pull Google-Pay font awesome icon To the left
To pull Google-Pay icon to the left of the container use fa-pull-left class.
<div style='width: 200px;'>
<i class='fab fa-google-pay fa-pull-left fa-3x'></i>
... The text after Google-Pay Icon will be displayed on the right side of the icon.
</div>
<div style = 'clear: both;'></div>
Output:
Pull Google-Pay font awesome icon To the left
To pull Google-Pay icon to the right of the container use fa-pull-right class.
<div style='width: 200px;'>
<i class='fab fa-google-pay fa-pull-right fa-3x'></i>
... The text after Google-Pay Icon will be displayed on the left side of the icon.
</div>
<div style = 'clear: both;'></div>
Output:
Animate Google-Pay font awesome icon
To animate Google-Pay font awesome icon, use fa-spin class.
<i class='fab fa-google-pay fa-spin fa-3x'></i>
Output:
Animate Google-Pay font awesome icon with steps
While animating the font awesome icon,We can rotate Google-Pay icon in 8 steps instead of uniform rotation.
We can use fa-pulse icon along with fa-spin class.
<i class='fab fa-google-pay fa-spin fa-pulse fa-3x'></i>
Output:
Rotate Google-Pay font awesome icon
To rotate Google-Pay font awesome icon, Use fa-rotate-x class
Where ‘x’ represents degree of rotation.
<div>
<i class='fab fa-google-pay fa-3x'>R</i>normal<br/><br/>
<i class='fab fa-google-pay fa-rotate-90 fa-3x'>R</i> fa-rotate-90<br/><br/>
<i class='fab fa-google-pay fa-rotate-180 fa-3x'>R</i> fa-rotate-180<br/><br/>
<i class='fab fa-google-pay fa-rotate-270 fa-3x'>R</i> fa-rotate-270<br/><br/>
</div>
Output:
R fa-rotate-90
R fa-rotate-180
R fa-rotate-270
Flip Google-Pay font awesome icon
To flip Google-Pay font awesome icon horizontally and vertically use fa-flip-horizontal and fa-flip-vertical classes.
<div>
<i class='fab fa-google-pay fa-3x'>F</i> Normal <br>
<i class='fab fa-google-pay fa-flip-horizontal fa-3x'>F</i> fa-flip-horizontal<br>
<i class='fab fa-google-pay fa-flip-vertical fa-3x'>F</i> fa-flip-vertical<br>
</div>
Output:
F fa-flip-horizontal
F fa-flip-vertical
Combine Google-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 Google-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-google-pay fa-stack-1x'></i>
</span>
Google-Pay on fa-square<br>
<span class='fa-stack fa-lg'>
<i class='fas fa-circle fa-stack-2x'></i>
<i class='fab fa-google-pay fa-stack-1x fa-inverse'></i>
</span>
Google-Pay on fa-circle<br>
<span class='fa-stack fa-lg'>
<i class='fab fa-google-pay fa-stack-1x'></i>
<i class='fas fa-ban fa-stack-2x'></i>
</span>
Google-Pay on fa-ban
</div>
Output:
Google-Pay on fa-circle
Google-Pay on fa-ban
