Pied-Piper-Alt font awesome icon Usage,CSS Class Name,SVG & CSS Content Code
Pied-Piper-Alt
font awesome icon css class name is fa-pied-piper-alt
and CSS Content Code is \f1a8
.
Pied-Piper-Alt
font awesome icon is part of brands icons.
Pied-Piper-Alt
font awesome icon usage
We can display Pied-Piper-Alt
font awesome icon using 3 different ways depending upon our requirement.
Using CSS Class Name
Using CSS Content Code
Using SVG
Pied-Piper-Alt
font awesome icon CSS class name
To display Pied-Piper-Alt
font awesome icon, add predefined class name i.e.,fa-pied-piper-alt
(with prefix fa-
) to the i
tag.
And we need to add corresponding font awesome icon style for the Pied-Piper-Alt
icon.
Pied-Piper-Alt
icon has 1 icon style i.e.,brands.
We need to append icon style class fab
.
<i class='fab fa-pied-piper-alt'></i>
Output:
Pied-Piper-Alt
font awesome icon CSS Content Code
We can display Pied-Piper-Alt
font awesome icon using it’s CSS Content Code \f1a8
Use the following HTML code
<li><span class='Pied-Piper-Alt fontawesomeicon'></span>Pied-Piper-Alt</li>
Apply CSS code
<style>
.fontawesomeicon::before {
display: inline-block;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
}
.Pied-Piper-Alt::before {
font: var(--fa-font-brands);
content: ' \f1a8';
}</style>
Output:
.fontawesomeicon::before { display: inline-block; text-rendering: auto; -webkit-font-smoothing: antialiased; } .Pied-Piper-Alt::before { font: var(--fa-font-brands); content: ' \f1a8'; }For the detailed tutorial visit https://www.angularjswiki.com/fontawesome/csscontentcode/
Pied-Piper-Alt
font awesome icon SVG
Use the following icon SVG to display Pied-Piper-Alt
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="M244 246c-3.2-2-6.3-2.9-10.1-2.9-6.6 0-12.6 3.2-19.3 3.7l1.7 4.9zm135.9 197.9c-19 0-64.1 9.5-79.9 19.8l6.9 45.1c35.7 6.1 70.1 3.6 106-9.8-4.8-10-23.5-55.1-33-55.1zM340.8 177c6.6 2.8 11.5 9.2 22.7 22.1 2-1.4 7.5-5.2 7.5-8.6 0-4.9-11.8-13.2-13.2-23 11.2-5.7 25.2-6 37.6-8.9 68.1-16.4 116.3-52.9 146.8-116.7C548.3 29.3 554 16.1 554.6 2l-2 2.6c-28.4 50-33 63.2-81.3 100-31.9 24.4-69.2 40.2-106.6 54.6l-6.3-.3v-21.8c-19.6 1.6-19.7-14.6-31.6-23-18.7 20.6-31.6 40.8-58.9 51.1-12.7 4.8-19.6 10-25.9 21.8 34.9-16.4 91.2-13.5 98.8-10zM555.5 0l-.6 1.1-.3.9.6-.6zm-59.2 382.1c-33.9-56.9-75.3-118.4-150-115.5l-.3-6c-1.1-13.5 32.8 3.2 35.1-31l-14.4 7.2c-19.8-45.7-8.6-54.3-65.5-54.3-14.7 0-26.7 1.7-41.4 4.6 2.9 18.6 2.2 36.7-10.9 50.3l19.5 5.5c-1.7 3.2-2.9 6.3-2.9 9.8 0 21 42.8 2.9 42.8 33.6 0 18.4-36.8 60.1-54.9 60.1-8 0-53.7-50-53.4-60.1l.3-4.6 52.3-11.5c13-2.6 12.3-22.7-2.9-22.7-3.7 0-43.1 9.2-49.4 10.6-2-5.2-7.5-14.1-13.8-14.1-3.2 0-6.3 3.2-9.5 4-9.2 2.6-31 2.9-21.5 20.1L15.9 298.5c-5.5 1.1-8.9 6.3-8.9 11.8 0 6 5.5 10.9 11.5 10.9 8 0 131.3-28.4 147.4-32.2 2.6 3.2 4.6 6.3 7.8 8.6 20.1 14.4 59.8 85.9 76.4 85.9 24.1 0 58-22.4 71.3-41.9 3.2-4.3 6.9-7.5 12.4-6.9.6 13.8-31.6 34.2-33 43.7-1.4 10.2-1 35.2-.3 41.1 26.7 8.1 52-3.6 77.9-2.9 4.3-21 10.6-41.9 9.8-63.5l-.3-9.5c-1.4-34.2-10.9-38.5-34.8-58.6-1.1-1.1-2.6-2.6-3.7-4 2.2-1.4 1.1-1 4.6-1.7 88.5 0 56.3 183.6 111.5 229.9 33.1-15 72.5-27.9 103.5-47.2-29-25.6-52.6-45.7-72.7-79.9zm-196.2 46.1v27.2l11.8-3.4-2.9-23.8zm-68.7-150.4l24.1 61.2 21-13.8-31.3-50.9zm84.4 154.9l2 12.4c9-1.5 58.4-6.6 58.4-14.1 0-1.4-.6-3.2-.9-4.6-26.8 0-36.9 3.8-59.5 6.3z"/></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="M244 246c-3.2-2-6.3-2.9-10.1-2.9-6.6 0-12.6 3.2-19.3 3.7l1.7 4.9zm135.9 197.9c-19 0-64.1 9.5-79.9 19.8l6.9 45.1c35.7 6.1 70.1 3.6 106-9.8-4.8-10-23.5-55.1-33-55.1zM340.8 177c6.6 2.8 11.5 9.2 22.7 22.1 2-1.4 7.5-5.2 7.5-8.6 0-4.9-11.8-13.2-13.2-23 11.2-5.7 25.2-6 37.6-8.9 68.1-16.4 116.3-52.9 146.8-116.7C548.3 29.3 554 16.1 554.6 2l-2 2.6c-28.4 50-33 63.2-81.3 100-31.9 24.4-69.2 40.2-106.6 54.6l-6.3-.3v-21.8c-19.6 1.6-19.7-14.6-31.6-23-18.7 20.6-31.6 40.8-58.9 51.1-12.7 4.8-19.6 10-25.9 21.8 34.9-16.4 91.2-13.5 98.8-10zM555.5 0l-.6 1.1-.3.9.6-.6zm-59.2 382.1c-33.9-56.9-75.3-118.4-150-115.5l-.3-6c-1.1-13.5 32.8 3.2 35.1-31l-14.4 7.2c-19.8-45.7-8.6-54.3-65.5-54.3-14.7 0-26.7 1.7-41.4 4.6 2.9 18.6 2.2 36.7-10.9 50.3l19.5 5.5c-1.7 3.2-2.9 6.3-2.9 9.8 0 21 42.8 2.9 42.8 33.6 0 18.4-36.8 60.1-54.9 60.1-8 0-53.7-50-53.4-60.1l.3-4.6 52.3-11.5c13-2.6 12.3-22.7-2.9-22.7-3.7 0-43.1 9.2-49.4 10.6-2-5.2-7.5-14.1-13.8-14.1-3.2 0-6.3 3.2-9.5 4-9.2 2.6-31 2.9-21.5 20.1L15.9 298.5c-5.5 1.1-8.9 6.3-8.9 11.8 0 6 5.5 10.9 11.5 10.9 8 0 131.3-28.4 147.4-32.2 2.6 3.2 4.6 6.3 7.8 8.6 20.1 14.4 59.8 85.9 76.4 85.9 24.1 0 58-22.4 71.3-41.9 3.2-4.3 6.9-7.5 12.4-6.9.6 13.8-31.6 34.2-33 43.7-1.4 10.2-1 35.2-.3 41.1 26.7 8.1 52-3.6 77.9-2.9 4.3-21 10.6-41.9 9.8-63.5l-.3-9.5c-1.4-34.2-10.9-38.5-34.8-58.6-1.1-1.1-2.6-2.6-3.7-4 2.2-1.4 1.1-1 4.6-1.7 88.5 0 56.3 183.6 111.5 229.9 33.1-15 72.5-27.9 103.5-47.2-29-25.6-52.6-45.7-72.7-79.9zm-196.2 46.1v27.2l11.8-3.4-2.9-23.8zm-68.7-150.4l24.1 61.2 21-13.8-31.3-50.9zm84.4 154.9l2 12.4c9-1.5 58.4-6.6 58.4-14.1 0-1.4-.6-3.2-.9-4.6-26.8 0-36.9 3.8-59.5 6.3z"/></svg>
Pied-Piper-Alt 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 Pied-Piper-Alt displayed using SVG
Change Pied-Piper-Alt
font awesome icon size
To increase Pied-Piper-Alt
font awesome icon size, use the fa-lg(33 % increase)
, fa-2x
, fa-3x
, fa-4x
, or fa-5x
classes along with icon class \f1a8.
Increase in icon size will be relative to their parent container.
<i class='fab fa-pied-piper-alt fa-lg'>fa-lg</i><br/>
<i class='fab fa-pied-piper-alt fa-2x'>fa-2x</i><br/>
<i class='fab fa-pied-piper-alt fa-3x'>fa-3x</i><br/>
<i class='fab fa-pied-piper-alt fa-4x'>fa-4x</i><br/>
<i class='fab fa-pied-piper-alt fa-5x'>fa-5x</i><br/>
Output:
fa-lgfa-2x
fa-3x
fa-4x
fa-5x
Pied-Piper-Alt
font awesome icon with Fixed Width
All the font awesome icons does not have same width.
For example Pied-Piper-Alt
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-pied-piper-alt fa-fw fa-3x'></i>Fixed Width<i style='border:1px solid;' class='fab fa-pied-piper-alt 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
Pied-Piper-Alt
font awesome icon Border
To add border to Pied-Piper-Alt
font awesome icon, use fa-border
class.
<i class='fab fa-pied-piper-alt fa-border fa-3x'></i>
Output:
Pull Pied-Piper-Alt
font awesome icon To the left
To pull Pied-Piper-Alt
icon to the left of the container use fa-pull-left
class.
<div style='width: 200px;'>
<i class='fab fa-pied-piper-alt fa-pull-left fa-3x'></i>
... The text after Pied-Piper-Alt Icon will be displayed on the right side of the icon.
</div>
<div style = 'clear: both;'></div>
Output:
Pull Pied-Piper-Alt
font awesome icon To the left
To pull Pied-Piper-Alt
icon to the right of the container use fa-pull-right
class.
<div style='width: 200px;'>
<i class='fab fa-pied-piper-alt fa-pull-right fa-3x'></i>
... The text after Pied-Piper-Alt Icon will be displayed on the left side of the icon.
</div>
<div style = 'clear: both;'></div>
Output:
Animate Pied-Piper-Alt
font awesome icon
To animate Pied-Piper-Alt
font awesome icon, use fa-spin
class.
<i class='fab fa-pied-piper-alt fa-spin fa-3x'></i>
Output:
Animate Pied-Piper-Alt
font awesome icon with steps
While animating the font awesome icon,We can rotate Pied-Piper-Alt
icon in 8 steps instead of uniform rotation.
We can use fa-pulse
icon along with fa-spin
class.
<i class='fab fa-pied-piper-alt fa-spin fa-pulse fa-3x'></i>
Output:
Rotate Pied-Piper-Alt
font awesome icon
To rotate Pied-Piper-Alt
font awesome icon, Use fa-rotate-x
class
Where ‘x’ represents degree of rotation.
<div>
<i class='fab fa-pied-piper-alt fa-3x'>R</i>normal<br/><br/>
<i class='fab fa-pied-piper-alt fa-rotate-90 fa-3x'>R</i> fa-rotate-90<br/><br/>
<i class='fab fa-pied-piper-alt fa-rotate-180 fa-3x'>R</i> fa-rotate-180<br/><br/>
<i class='fab fa-pied-piper-alt 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 Pied-Piper-Alt
font awesome icon
To flip Pied-Piper-Alt
font awesome icon horizontally and vertically use fa-flip-horizontal
and fa-flip-vertical
classes.
<div>
<i class='fab fa-pied-piper-alt fa-3x'>F</i> Normal <br>
<i class='fab fa-pied-piper-alt fa-flip-horizontal fa-3x'>F</i> fa-flip-horizontal<br>
<i class='fab fa-pied-piper-alt fa-flip-vertical fa-3x'>F</i> fa-flip-vertical<br>
</div>
Output:
F fa-flip-horizontal
F fa-flip-vertical
Combine Pied-Piper-Alt
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 Pied-Piper-Alt
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-pied-piper-alt fa-stack-1x'></i>
</span>
Pied-Piper-Alt on fa-square<br>
<span class='fa-stack fa-lg'>
<i class='fas fa-circle fa-stack-2x'></i>
<i class='fab fa-pied-piper-alt fa-stack-1x fa-inverse'></i>
</span>
Pied-Piper-Alt on fa-circle<br>
<span class='fa-stack fa-lg'>
<i class='fab fa-pied-piper-alt fa-stack-1x'></i>
<i class='fas fa-ban fa-stack-2x'></i>
</span>
Pied-Piper-Alt on fa-ban
</div>
Output:
Pied-Piper-Alt on fa-circle
Pied-Piper-Alt on fa-ban