Buy-N-Large font awesome icon Usage,CSS Class Name,SVG & CSS Content Code
Buy-N-Large
font awesome icon css class name is fa-buy-n-large
and CSS Content Code is \f8a6
.
Buy-N-Large
font awesome icon is part of brands icons.
Buy-N-Large
font awesome icon usage
We can display Buy-N-Large
font awesome icon using 3 different ways depending upon our requirement.
Using CSS Class Name
Using CSS Content Code
Using SVG
Buy-N-Large
font awesome icon CSS class name
To display Buy-N-Large
font awesome icon, add predefined class name i.e.,fa-buy-n-large
(with prefix fa-
) to the i
tag.
And we need to add corresponding font awesome icon style for the Buy-N-Large
icon.
Buy-N-Large
icon has 1 icon style i.e.,brands.
We need to append icon style class fab
.
<i class='fab fa-buy-n-large'></i>
Output:
Buy-N-Large
font awesome icon CSS Content Code
We can display Buy-N-Large
font awesome icon using it’s CSS Content Code \f8a6
Use the following HTML code
<li><span class='Buy-N-Large fontawesomeicon'></span>Buy-N-Large</li>
Apply CSS code
<style>
.fontawesomeicon::before {
display: inline-block;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
}
.Buy-N-Large::before {
font: var(--fa-font-brands);
content: ' \f8a6';
}</style>
Output:
.fontawesomeicon::before { display: inline-block; text-rendering: auto; -webkit-font-smoothing: antialiased; } .Buy-N-Large::before { font: var(--fa-font-brands); content: ' \f8a6'; }For the detailed tutorial visit https://www.angularjswiki.com/fontawesome/csscontentcode/
Buy-N-Large
font awesome icon SVG
Use the following icon SVG to display Buy-N-Large
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="M288 32C133.27 32 7.79 132.32 7.79 256S133.27 480 288 480s280.21-100.32 280.21-224S442.73 32 288 32zm-85.39 357.19L64.1 390.55l77.25-290.74h133.44c63.15 0 84.93 28.65 78 72.84a60.24 60.24 0 0 1-1.5 6.85 77.39 77.39 0 0 0-17.21-1.93c-42.35 0-76.69 33.88-76.69 75.65 0 37.14 27.14 68 62.93 74.45-18.24 37.16-56.16 60.92-117.71 61.52zM358 207.11h32l-22.16 90.31h-35.41l-11.19-35.63-7.83 35.63h-37.83l26.63-90.31h31.34l15 36.75zm145.86 182.08H306.79L322.63 328a78.8 78.8 0 0 0 11.47.83c42.34 0 76.69-33.87 76.69-75.65 0-32.65-21-60.46-50.38-71.06l21.33-82.35h92.5l-53.05 205.36h103.87zM211.7 269.39H187l-13.8 56.47h24.7c16.14 0 32.11-3.18 37.94-26.65 5.56-22.31-7.99-29.82-24.14-29.82zM233 170h-21.34L200 217.71h21.37c18 0 35.38-14.64 39.21-30.14C265.23 168.71 251.07 170 233 170z"/></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="M288 32C133.27 32 7.79 132.32 7.79 256S133.27 480 288 480s280.21-100.32 280.21-224S442.73 32 288 32zm-85.39 357.19L64.1 390.55l77.25-290.74h133.44c63.15 0 84.93 28.65 78 72.84a60.24 60.24 0 0 1-1.5 6.85 77.39 77.39 0 0 0-17.21-1.93c-42.35 0-76.69 33.88-76.69 75.65 0 37.14 27.14 68 62.93 74.45-18.24 37.16-56.16 60.92-117.71 61.52zM358 207.11h32l-22.16 90.31h-35.41l-11.19-35.63-7.83 35.63h-37.83l26.63-90.31h31.34l15 36.75zm145.86 182.08H306.79L322.63 328a78.8 78.8 0 0 0 11.47.83c42.34 0 76.69-33.87 76.69-75.65 0-32.65-21-60.46-50.38-71.06l21.33-82.35h92.5l-53.05 205.36h103.87zM211.7 269.39H187l-13.8 56.47h24.7c16.14 0 32.11-3.18 37.94-26.65 5.56-22.31-7.99-29.82-24.14-29.82zM233 170h-21.34L200 217.71h21.37c18 0 35.38-14.64 39.21-30.14C265.23 168.71 251.07 170 233 170z"/></svg>
Buy-N-Large 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 Buy-N-Large displayed using SVG
Change Buy-N-Large
font awesome icon size
To increase Buy-N-Large
font awesome icon size, use the fa-lg(33 % increase)
, fa-2x
, fa-3x
, fa-4x
, or fa-5x
classes along with icon class \f8a6.
Increase in icon size will be relative to their parent container.
<i class='fab fa-buy-n-large fa-lg'>fa-lg</i><br/>
<i class='fab fa-buy-n-large fa-2x'>fa-2x</i><br/>
<i class='fab fa-buy-n-large fa-3x'>fa-3x</i><br/>
<i class='fab fa-buy-n-large fa-4x'>fa-4x</i><br/>
<i class='fab fa-buy-n-large fa-5x'>fa-5x</i><br/>
Output:
fa-lgfa-2x
fa-3x
fa-4x
fa-5x
Buy-N-Large
font awesome icon with Fixed Width
All the font awesome icons does not have same width.
For example Buy-N-Large
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-buy-n-large fa-fw fa-3x'></i>Fixed Width<i style='border:1px solid;' class='fab fa-buy-n-large 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
Buy-N-Large
font awesome icon Border
To add border to Buy-N-Large
font awesome icon, use fa-border
class.
<i class='fab fa-buy-n-large fa-border fa-3x'></i>
Output:
Pull Buy-N-Large
font awesome icon To the left
To pull Buy-N-Large
icon to the left of the container use fa-pull-left
class.
<div style='width: 200px;'>
<i class='fab fa-buy-n-large fa-pull-left fa-3x'></i>
... The text after Buy-N-Large Icon will be displayed on the right side of the icon.
</div>
<div style = 'clear: both;'></div>
Output:
Pull Buy-N-Large
font awesome icon To the left
To pull Buy-N-Large
icon to the right of the container use fa-pull-right
class.
<div style='width: 200px;'>
<i class='fab fa-buy-n-large fa-pull-right fa-3x'></i>
... The text after Buy-N-Large Icon will be displayed on the left side of the icon.
</div>
<div style = 'clear: both;'></div>
Output:
Animate Buy-N-Large
font awesome icon
To animate Buy-N-Large
font awesome icon, use fa-spin
class.
<i class='fab fa-buy-n-large fa-spin fa-3x'></i>
Output:
Animate Buy-N-Large
font awesome icon with steps
While animating the font awesome icon,We can rotate Buy-N-Large
icon in 8 steps instead of uniform rotation.
We can use fa-pulse
icon along with fa-spin
class.
<i class='fab fa-buy-n-large fa-spin fa-pulse fa-3x'></i>
Output:
Rotate Buy-N-Large
font awesome icon
To rotate Buy-N-Large
font awesome icon, Use fa-rotate-x
class
Where ‘x’ represents degree of rotation.
<div>
<i class='fab fa-buy-n-large fa-3x'>R</i>normal<br/><br/>
<i class='fab fa-buy-n-large fa-rotate-90 fa-3x'>R</i> fa-rotate-90<br/><br/>
<i class='fab fa-buy-n-large fa-rotate-180 fa-3x'>R</i> fa-rotate-180<br/><br/>
<i class='fab fa-buy-n-large 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 Buy-N-Large
font awesome icon
To flip Buy-N-Large
font awesome icon horizontally and vertically use fa-flip-horizontal
and fa-flip-vertical
classes.
<div>
<i class='fab fa-buy-n-large fa-3x'>F</i> Normal <br>
<i class='fab fa-buy-n-large fa-flip-horizontal fa-3x'>F</i> fa-flip-horizontal<br>
<i class='fab fa-buy-n-large fa-flip-vertical fa-3x'>F</i> fa-flip-vertical<br>
</div>
Output:
F fa-flip-horizontal
F fa-flip-vertical
Combine Buy-N-Large
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 Buy-N-Large
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-buy-n-large fa-stack-1x'></i>
</span>
Buy-N-Large on fa-square<br>
<span class='fa-stack fa-lg'>
<i class='fas fa-circle fa-stack-2x'></i>
<i class='fab fa-buy-n-large fa-stack-1x fa-inverse'></i>
</span>
Buy-N-Large on fa-circle<br>
<span class='fa-stack fa-lg'>
<i class='fab fa-buy-n-large fa-stack-1x'></i>
<i class='fas fa-ban fa-stack-2x'></i>
</span>
Buy-N-Large on fa-ban
</div>
Output:
Buy-N-Large on fa-circle
Buy-N-Large on fa-ban