Trade-Federation font awesome icon Usage,CSS Class Name,SVG & CSS Content Code
Trade-Federation
font awesome icon css class name is fa-trade-federation
and CSS Content Code is \f513
.
Trade-Federation
font awesome icon is part of brands icons.
Trade-Federation
font awesome icon usage
We can display Trade-Federation
font awesome icon using 3 different ways depending upon our requirement.
Using CSS Class Name
Using CSS Content Code
Using SVG
Trade-Federation
font awesome icon CSS class name
To display Trade-Federation
font awesome icon, add predefined class name i.e.,fa-trade-federation
(with prefix fa-
) to the i
tag.
And we need to add corresponding font awesome icon style for the Trade-Federation
icon.
Trade-Federation
icon has 1 icon style i.e.,brands.
We need to append icon style class fab
.
<i class='fab fa-trade-federation'></i>
Output:
Trade-Federation
font awesome icon CSS Content Code
We can display Trade-Federation
font awesome icon using it’s CSS Content Code \f513
Use the following HTML code
<li><span class='Trade-Federation fontawesomeicon'></span>Trade-Federation</li>
Apply CSS code
<style>
.fontawesomeicon::before {
display: inline-block;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
}
.Trade-Federation::before {
font: var(--fa-font-brands);
content: ' \f513';
}</style>
Output:
For the detailed tutorial visit https://www.angularjswiki.com/fontawesome/csscontentcode/
Trade-Federation
font awesome icon SVG
Use the following icon SVG to display Trade-Federation
font awesome icon.
<svg class='fontawesomesvg' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 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="M248 8.8c-137 0-248 111-248 248s111 248 248 248 248-111 248-248-111-248-248-248zm0 482.8c-129.7 0-234.8-105.1-234.8-234.8S118.3 22 248 22s234.8 105.1 234.8 234.8S377.7 491.6 248 491.6zm155.1-328.5v-46.8H209.3V198H54.2l36.7 46h117.7v196.8h48.8V245h83.3v-47h-83.3v-34.8h145.7zm-73.3 45.1v23.9h-82.9v197.4h-26.8V232.1H96.3l-20.1-23.9h143.9v-80.6h171.8V152h-145v56.2zm-161.3-69l-12.4-20.7 2.1 23.8-23.5 5.4 23.3 5.4-2.1 24 12.3-20.5 22.2 9.5-15.7-18.1 15.8-18.1zm-29.6-19.7l9.3-11.5-12.7 5.9-8-12.4 1.7 13.9-14.3 3.8 13.7 2.7-.8 14.7 6.8-12.2 13.8 5.3zm165.4 145.2l-13.1 5.6-7.3-12.2 1.3 14.2-13.9 3.2 13.9 3.2-1.2 14.2 7.3-12.2 13.1 5.5-9.4-10.7zm106.9-77.2l-20.9 9.1-12-19.6 2.2 22.7-22.3 5.4 22.2 4.9-1.8 22.9 11.5-19.6 21.2 8.8-15.1-17zM248 29.9c-125.3 0-226.9 101.6-226.9 226.9S122.7 483.7 248 483.7s226.9-101.6 226.9-226.9S373.3 29.9 248 29.9zM342.6 196v51h-83.3v195.7h-52.7V245.9H89.9l-40-49.9h157.4v-81.6h197.8v50.7H259.4V196zM248 43.2c60.3 0 114.8 25 153.6 65.2H202.5V190H45.1C73.1 104.8 153.4 43.2 248 43.2zm0 427.1c-117.9 0-213.6-95.6-213.6-213.5 0-21.2 3.1-41.8 8.9-61.1L87.1 252h114.7v196.8h64.6V253h83.3v-62.7h-83.2v-19.2h145.6v-50.8c30.8 37 49.3 84.6 49.3 136.5.1 117.9-95.5 213.5-213.4 213.5zM178.8 275l-11-21.4 1.7 24.5-23.7 3.9 23.8 5.9-3.7 23.8 13-20.9 21.5 10.8-15.8-18.8 16.9-17.1z"/></svg>
Use the following HTML code
<p>This <svg class='fontawesomesvg' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 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="M248 8.8c-137 0-248 111-248 248s111 248 248 248 248-111 248-248-111-248-248-248zm0 482.8c-129.7 0-234.8-105.1-234.8-234.8S118.3 22 248 22s234.8 105.1 234.8 234.8S377.7 491.6 248 491.6zm155.1-328.5v-46.8H209.3V198H54.2l36.7 46h117.7v196.8h48.8V245h83.3v-47h-83.3v-34.8h145.7zm-73.3 45.1v23.9h-82.9v197.4h-26.8V232.1H96.3l-20.1-23.9h143.9v-80.6h171.8V152h-145v56.2zm-161.3-69l-12.4-20.7 2.1 23.8-23.5 5.4 23.3 5.4-2.1 24 12.3-20.5 22.2 9.5-15.7-18.1 15.8-18.1zm-29.6-19.7l9.3-11.5-12.7 5.9-8-12.4 1.7 13.9-14.3 3.8 13.7 2.7-.8 14.7 6.8-12.2 13.8 5.3zm165.4 145.2l-13.1 5.6-7.3-12.2 1.3 14.2-13.9 3.2 13.9 3.2-1.2 14.2 7.3-12.2 13.1 5.5-9.4-10.7zm106.9-77.2l-20.9 9.1-12-19.6 2.2 22.7-22.3 5.4 22.2 4.9-1.8 22.9 11.5-19.6 21.2 8.8-15.1-17zM248 29.9c-125.3 0-226.9 101.6-226.9 226.9S122.7 483.7 248 483.7s226.9-101.6 226.9-226.9S373.3 29.9 248 29.9zM342.6 196v51h-83.3v195.7h-52.7V245.9H89.9l-40-49.9h157.4v-81.6h197.8v50.7H259.4V196zM248 43.2c60.3 0 114.8 25 153.6 65.2H202.5V190H45.1C73.1 104.8 153.4 43.2 248 43.2zm0 427.1c-117.9 0-213.6-95.6-213.6-213.5 0-21.2 3.1-41.8 8.9-61.1L87.1 252h114.7v196.8h64.6V253h83.3v-62.7h-83.2v-19.2h145.6v-50.8c30.8 37 49.3 84.6 49.3 136.5.1 117.9-95.5 213.5-213.4 213.5zM178.8 275l-11-21.4 1.7 24.5-23.7 3.9 23.8 5.9-3.7 23.8 13-20.9 21.5 10.8-15.8-18.8 16.9-17.1z"/></svg>
Trade-Federation displayed using SVG</p>
Apply CSS code
<style>
.fontawesomesvg {width: 1em;
height: 1em;
vertical-align: -.125em;
}
</style>
Output:
This Trade-Federation displayed using SVG
Change Trade-Federation
font awesome icon size
To increase Trade-Federation
font awesome icon size, use the fa-lg(33 % increase)
, fa-2x
, fa-3x
, fa-4x
, or fa-5x
classes along with icon class \f513.
Increase in icon size will be relative to their parent container.
<i class='fab fa-trade-federation fa-lg'>fa-lg</i><br/>
<i class='fab fa-trade-federation fa-2x'>fa-2x</i><br/>
<i class='fab fa-trade-federation fa-3x'>fa-3x</i><br/>
<i class='fab fa-trade-federation fa-4x'>fa-4x</i><br/>
<i class='fab fa-trade-federation fa-5x'>fa-5x</i><br/>
Output:
fa-lgfa-2x
fa-3x
fa-4x
fa-5x
Trade-Federation
font awesome icon with Fixed Width
All the font awesome icons does not have same width.
For example Trade-Federation
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-trade-federation fa-fw fa-3x'></i>Fixed Width<i style='border:1px solid;' class='fab fa-trade-federation 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
Trade-Federation
font awesome icon Border
To add border to Trade-Federation
font awesome icon, use fa-border
class.
<i class='fab fa-trade-federation fa-border fa-3x'></i>
Output:
Pull Trade-Federation
font awesome icon To the left
To pull Trade-Federation
icon to the left of the container use fa-pull-left
class.
<div style='width: 200px;'>
<i class='fab fa-trade-federation fa-pull-left fa-3x'></i>
... The text after Trade-Federation Icon will be displayed on the right side of the icon.
</div>
<div style = 'clear: both;'></div>
Output:
Pull Trade-Federation
font awesome icon To the left
To pull Trade-Federation
icon to the right of the container use fa-pull-right
class.
<div style='width: 200px;'>
<i class='fab fa-trade-federation fa-pull-right fa-3x'></i>
... The text after Trade-Federation Icon will be displayed on the left side of the icon.
</div>
<div style = 'clear: both;'></div>
Output:
Animate Trade-Federation
font awesome icon
To animate Trade-Federation
font awesome icon, use fa-spin
class.
<i class='fab fa-trade-federation fa-spin fa-3x'></i>
Output:
Animate Trade-Federation
font awesome icon with steps
While animating the font awesome icon,We can rotate Trade-Federation
icon in 8 steps instead of uniform rotation.
We can use fa-pulse
icon along with fa-spin
class.
<i class='fab fa-trade-federation fa-spin fa-pulse fa-3x'></i>
Output:
Rotate Trade-Federation
font awesome icon
To rotate Trade-Federation
font awesome icon, Use fa-rotate-x
class
Where ‘x’ represents degree of rotation.
<div>
<i class='fab fa-trade-federation fa-3x'>R</i>normal<br/><br/>
<i class='fab fa-trade-federation fa-rotate-90 fa-3x'>R</i> fa-rotate-90<br/><br/>
<i class='fab fa-trade-federation fa-rotate-180 fa-3x'>R</i> fa-rotate-180<br/><br/>
<i class='fab fa-trade-federation 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 Trade-Federation
font awesome icon
To flip Trade-Federation
font awesome icon horizontally and vertically use fa-flip-horizontal
and fa-flip-vertical
classes.
<div>
<i class='fab fa-trade-federation fa-3x'>F</i> Normal <br>
<i class='fab fa-trade-federation fa-flip-horizontal fa-3x'>F</i> fa-flip-horizontal<br>
<i class='fab fa-trade-federation fa-flip-vertical fa-3x'>F</i> fa-flip-vertical<br>
</div>
Output:
F fa-flip-horizontal
F fa-flip-vertical
Combine Trade-Federation
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 Trade-Federation
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-trade-federation fa-stack-1x'></i>
</span>
Trade-Federation on fa-square<br>
<span class='fa-stack fa-lg'>
<i class='fas fa-circle fa-stack-2x'></i>
<i class='fab fa-trade-federation fa-stack-1x fa-inverse'></i>
</span>
Trade-Federation on fa-circle<br>
<span class='fa-stack fa-lg'>
<i class='fab fa-trade-federation fa-stack-1x'></i>
<i class='fas fa-ban fa-stack-2x'></i>
</span>
Trade-Federation on fa-ban
</div>
Output:
Trade-Federation on fa-circle
Trade-Federation on fa-ban