Nfc-Symbol font awesome icon Usage,CSS Class Name,SVG & CSS Content Code
Nfc-Symbol
font awesome icon css class name is fa-nfc-symbol
and CSS Content Code is \e531
.
Nfc-Symbol
font awesome icon is part of brands icons.
Nfc-Symbol
font awesome icon usage
We can display Nfc-Symbol
font awesome icon using 3 different ways depending upon our requirement.
Using CSS Class Name
Using CSS Content Code
Using SVG
Nfc-Symbol
font awesome icon CSS class name
To display Nfc-Symbol
font awesome icon, add predefined class name i.e.,fa-nfc-symbol
(with prefix fa-
) to the i
tag.
And we need to add corresponding font awesome icon style for the Nfc-Symbol
icon.
Nfc-Symbol
icon has 1 icon style i.e.,brands.
We need to append icon style class fab
.
<i class='fab fa-nfc-symbol'></i>
Output:
Nfc-Symbol
font awesome icon CSS Content Code
We can display Nfc-Symbol
font awesome icon using it’s CSS Content Code \e531
Use the following HTML code
<li><span class='Nfc-Symbol fontawesomeicon'></span>Nfc-Symbol</li>
Apply CSS code
<style>
.fontawesomeicon::before {
display: inline-block;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
}
.Nfc-Symbol::before {
font: var(--fa-font-brands);
content: ' \e531';
}</style>
Output:
.fontawesomeicon::before { display: inline-block; text-rendering: auto; -webkit-font-smoothing: antialiased; } .Nfc-Symbol::before { font: var(--fa-font-brands); content: ' \e531'; }For the detailed tutorial visit https://www.angularjswiki.com/fontawesome/csscontentcode/
Nfc-Symbol
font awesome icon SVG
Use the following icon SVG to display Nfc-Symbol
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="M392.9 32.43C400.6 31.1 408.6 32.89 414.1 37.41C498.2 96.14 544 173.7 544 255.1C544 338.2 498.2 415.9 414.1 474.6C409.3 478.6 402.4 480.5 395.5 479.9C388.5 479.3 382 476.3 377.1 471.4L193.7 288.7C188.1 283.2 185 275.7 184.1 267.8C184.1 260 188.1 252.5 193.6 246.9C199.2 241.4 206.7 238.2 214.5 238.2C222.4 238.2 229.9 241.3 235.4 246.8L400.5 411.2C455.1 366.5 484.8 312 484.8 255.1C484.8 193.5 447.9 132.9 380.9 85.76C374.5 81.24 370.1 74.35 368.8 66.62C367.4 58.89 369.2 50.94 373.8 44.53C378.3 38.12 385.2 33.77 392.9 32.43V32.43zM186.9 479.6C179.2 480.9 171.3 479.1 164.8 474.6C81.67 415.9 35.84 338.2 35.84 255.1C35.84 173.7 81.67 96.14 164.8 37.41C170.5 33.4 177.4 31.53 184.4 32.12C191.3 32.71 197.8 35.72 202.7 40.63L386.1 223.3C391.7 228.8 394.8 236.3 394.8 244.2C394.9 251.1 391.8 259.5 386.2 265.1C380.7 270.6 373.2 273.8 365.3 273.8C357.5 273.8 349.1 270.7 344.4 265.2L179.3 100.7C124.7 145.9 95.03 199.9 95.03 255.1C95.03 318.5 131.9 379.1 198.1 426.2C205.4 430.8 209.7 437.6 211.1 445.4C212.4 453.1 210.6 461.1 206.1 467.5C201.6 473.9 194.7 478.2 186.9 479.6V479.6z"/></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="M392.9 32.43C400.6 31.1 408.6 32.89 414.1 37.41C498.2 96.14 544 173.7 544 255.1C544 338.2 498.2 415.9 414.1 474.6C409.3 478.6 402.4 480.5 395.5 479.9C388.5 479.3 382 476.3 377.1 471.4L193.7 288.7C188.1 283.2 185 275.7 184.1 267.8C184.1 260 188.1 252.5 193.6 246.9C199.2 241.4 206.7 238.2 214.5 238.2C222.4 238.2 229.9 241.3 235.4 246.8L400.5 411.2C455.1 366.5 484.8 312 484.8 255.1C484.8 193.5 447.9 132.9 380.9 85.76C374.5 81.24 370.1 74.35 368.8 66.62C367.4 58.89 369.2 50.94 373.8 44.53C378.3 38.12 385.2 33.77 392.9 32.43V32.43zM186.9 479.6C179.2 480.9 171.3 479.1 164.8 474.6C81.67 415.9 35.84 338.2 35.84 255.1C35.84 173.7 81.67 96.14 164.8 37.41C170.5 33.4 177.4 31.53 184.4 32.12C191.3 32.71 197.8 35.72 202.7 40.63L386.1 223.3C391.7 228.8 394.8 236.3 394.8 244.2C394.9 251.1 391.8 259.5 386.2 265.1C380.7 270.6 373.2 273.8 365.3 273.8C357.5 273.8 349.1 270.7 344.4 265.2L179.3 100.7C124.7 145.9 95.03 199.9 95.03 255.1C95.03 318.5 131.9 379.1 198.1 426.2C205.4 430.8 209.7 437.6 211.1 445.4C212.4 453.1 210.6 461.1 206.1 467.5C201.6 473.9 194.7 478.2 186.9 479.6V479.6z"/></svg>
Nfc-Symbol 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 Nfc-Symbol displayed using SVG
Change Nfc-Symbol
font awesome icon size
To increase Nfc-Symbol
font awesome icon size, use the fa-lg(33 % increase)
, fa-2x
, fa-3x
, fa-4x
, or fa-5x
classes along with icon class \e531.
Increase in icon size will be relative to their parent container.
<i class='fab fa-nfc-symbol fa-lg'>fa-lg</i><br/>
<i class='fab fa-nfc-symbol fa-2x'>fa-2x</i><br/>
<i class='fab fa-nfc-symbol fa-3x'>fa-3x</i><br/>
<i class='fab fa-nfc-symbol fa-4x'>fa-4x</i><br/>
<i class='fab fa-nfc-symbol fa-5x'>fa-5x</i><br/>
Output:
fa-lgfa-2x
fa-3x
fa-4x
fa-5x
Nfc-Symbol
font awesome icon with Fixed Width
All the font awesome icons does not have same width.
For example Nfc-Symbol
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-nfc-symbol fa-fw fa-3x'></i>Fixed Width<i style='border:1px solid;' class='fab fa-nfc-symbol 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
Nfc-Symbol
font awesome icon Border
To add border to Nfc-Symbol
font awesome icon, use fa-border
class.
<i class='fab fa-nfc-symbol fa-border fa-3x'></i>
Output:
Pull Nfc-Symbol
font awesome icon To the left
To pull Nfc-Symbol
icon to the left of the container use fa-pull-left
class.
<div style='width: 200px;'>
<i class='fab fa-nfc-symbol fa-pull-left fa-3x'></i>
... The text after Nfc-Symbol Icon will be displayed on the right side of the icon.
</div>
<div style = 'clear: both;'></div>
Output:
Pull Nfc-Symbol
font awesome icon To the left
To pull Nfc-Symbol
icon to the right of the container use fa-pull-right
class.
<div style='width: 200px;'>
<i class='fab fa-nfc-symbol fa-pull-right fa-3x'></i>
... The text after Nfc-Symbol Icon will be displayed on the left side of the icon.
</div>
<div style = 'clear: both;'></div>
Output:
Animate Nfc-Symbol
font awesome icon
To animate Nfc-Symbol
font awesome icon, use fa-spin
class.
<i class='fab fa-nfc-symbol fa-spin fa-3x'></i>
Output:
Animate Nfc-Symbol
font awesome icon with steps
While animating the font awesome icon,We can rotate Nfc-Symbol
icon in 8 steps instead of uniform rotation.
We can use fa-pulse
icon along with fa-spin
class.
<i class='fab fa-nfc-symbol fa-spin fa-pulse fa-3x'></i>
Output:
Rotate Nfc-Symbol
font awesome icon
To rotate Nfc-Symbol
font awesome icon, Use fa-rotate-x
class
Where ‘x’ represents degree of rotation.
<div>
<i class='fab fa-nfc-symbol fa-3x'>R</i>normal<br/><br/>
<i class='fab fa-nfc-symbol fa-rotate-90 fa-3x'>R</i> fa-rotate-90<br/><br/>
<i class='fab fa-nfc-symbol fa-rotate-180 fa-3x'>R</i> fa-rotate-180<br/><br/>
<i class='fab fa-nfc-symbol 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 Nfc-Symbol
font awesome icon
To flip Nfc-Symbol
font awesome icon horizontally and vertically use fa-flip-horizontal
and fa-flip-vertical
classes.
<div>
<i class='fab fa-nfc-symbol fa-3x'>F</i> Normal <br>
<i class='fab fa-nfc-symbol fa-flip-horizontal fa-3x'>F</i> fa-flip-horizontal<br>
<i class='fab fa-nfc-symbol fa-flip-vertical fa-3x'>F</i> fa-flip-vertical<br>
</div>
Output:
F fa-flip-horizontal
F fa-flip-vertical
Combine Nfc-Symbol
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 Nfc-Symbol
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-nfc-symbol fa-stack-1x'></i>
</span>
Nfc-Symbol on fa-square<br>
<span class='fa-stack fa-lg'>
<i class='fas fa-circle fa-stack-2x'></i>
<i class='fab fa-nfc-symbol fa-stack-1x fa-inverse'></i>
</span>
Nfc-Symbol on fa-circle<br>
<span class='fa-stack fa-lg'>
<i class='fab fa-nfc-symbol fa-stack-1x'></i>
<i class='fas fa-ban fa-stack-2x'></i>
</span>
Nfc-Symbol on fa-ban
</div>
Output:
Nfc-Symbol on fa-circle
Nfc-Symbol on fa-ban