Edge font awesome icon Usage,CSS Class Name,SVG & CSS Content Code
Edge font awesome icon css class name is fa-edge and CSS Content Code is \f282.
Edge font awesome icon is part of brands icons.
Edge font awesome icon usage
We can display Edge font awesome icon using 3 different ways depending upon our requirement.
Using CSS Class Name
Using CSS Content Code
Using SVG
Edge font awesome icon CSS class name
To display Edge font awesome icon, add predefined class name i.e.,fa-edge (with prefix fa-) to the i tag.
And we need to add corresponding font awesome icon style for the Edge icon.
Edge icon has 1 icon style i.e.,brands.
We need to append icon style class fab.
<i class='fab fa-edge'></i>
Output:
Edge font awesome icon CSS Content Code
We can display Edge font awesome icon using it’s CSS Content Code \f282
Use the following HTML code
<li><span class='Edge fontawesomeicon'></span>Edge</li>
Apply CSS code
<style>
.fontawesomeicon::before {
display: inline-block;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
}
.Edge::before {
font: var(--fa-font-brands);
content: ' \f282';
}</style>
Output:
For the detailed tutorial visit https://www.angularjswiki.com/fontawesome/csscontentcode/
Edge font awesome icon SVG
Use the following icon SVG to display Edge font awesome icon.
<svg class='fontawesomesvg' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 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="M120.1 37.44C161.1 12.23 207.7-.7753 255 .0016C423 .0016 512 123.8 512 219.5C511.9 252.2 499 283.4 476.1 306.7C453.2 329.9 422.1 343.2 389.4 343.7C314.2 343.7 297.9 320.6 297.9 311.7C297.9 307.9 299.1 305.5 302.7 302.3L303.7 301.1L304.1 299.5C314.6 288 320 273.3 320 257.9C320 179.2 237.8 115.2 136 115.2C98.46 114.9 61.46 124.1 28.48 142.1C55.48 84.58 111.2 44.5 119.8 38.28C120.6 37.73 120.1 37.44 120.1 37.44V37.44zM135.7 355.5C134.3 385.5 140.3 415.5 152.1 442.7C165.7 469.1 184.8 493.7 208.6 512C149.1 500.5 97.11 468.1 59.2 422.7C21.12 376.3 0 318.4 0 257.9C0 206.7 62.4 163.5 136 163.5C172.6 162.9 208.4 174.4 237.8 196.2L234.2 197.4C182.7 215 135.7 288.1 135.7 355.5V355.5zM469.8 400L469.1 400.1C457.3 418.9 443.2 435.2 426.9 449.6C396.1 477.6 358.8 495.1 318.1 499.5C299.5 499.8 281.3 496.3 264.3 488.1C238.7 477.8 217.2 458.1 202.7 435.1C188.3 411.2 181.6 383.4 183.7 355.5C183.1 335.4 189.1 315.2 198.7 297.3C212.6 330.4 236.2 358.6 266.3 378.1C296.4 397.6 331.8 407.6 367.7 406.7C398.7 407 429.8 400 457.9 386.2L459.8 385.3C463.7 383 467.5 381.4 471.4 385.3C475.9 390.2 473.2 394.5 470.2 399.3C470 399.5 469.9 399.8 469.8 400V400z"/></svg>
Use the following HTML code
<p>This <svg class='fontawesomesvg' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 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="M120.1 37.44C161.1 12.23 207.7-.7753 255 .0016C423 .0016 512 123.8 512 219.5C511.9 252.2 499 283.4 476.1 306.7C453.2 329.9 422.1 343.2 389.4 343.7C314.2 343.7 297.9 320.6 297.9 311.7C297.9 307.9 299.1 305.5 302.7 302.3L303.7 301.1L304.1 299.5C314.6 288 320 273.3 320 257.9C320 179.2 237.8 115.2 136 115.2C98.46 114.9 61.46 124.1 28.48 142.1C55.48 84.58 111.2 44.5 119.8 38.28C120.6 37.73 120.1 37.44 120.1 37.44V37.44zM135.7 355.5C134.3 385.5 140.3 415.5 152.1 442.7C165.7 469.1 184.8 493.7 208.6 512C149.1 500.5 97.11 468.1 59.2 422.7C21.12 376.3 0 318.4 0 257.9C0 206.7 62.4 163.5 136 163.5C172.6 162.9 208.4 174.4 237.8 196.2L234.2 197.4C182.7 215 135.7 288.1 135.7 355.5V355.5zM469.8 400L469.1 400.1C457.3 418.9 443.2 435.2 426.9 449.6C396.1 477.6 358.8 495.1 318.1 499.5C299.5 499.8 281.3 496.3 264.3 488.1C238.7 477.8 217.2 458.1 202.7 435.1C188.3 411.2 181.6 383.4 183.7 355.5C183.1 335.4 189.1 315.2 198.7 297.3C212.6 330.4 236.2 358.6 266.3 378.1C296.4 397.6 331.8 407.6 367.7 406.7C398.7 407 429.8 400 457.9 386.2L459.8 385.3C463.7 383 467.5 381.4 471.4 385.3C475.9 390.2 473.2 394.5 470.2 399.3C470 399.5 469.9 399.8 469.8 400V400z"/></svg>
Edge displayed using SVG</p>
Apply CSS code
<style>
.fontawesomesvg {width: 1em;
height: 1em;
vertical-align: -.125em;
}
</style>
Output:
This Edge displayed using SVG
Change Edge font awesome icon size
To increase Edge font awesome icon size, use the fa-lg(33 % increase), fa-2x, fa-3x, fa-4x, or fa-5x classes along with icon class \f282.
Increase in icon size will be relative to their parent container.
<i class='fab fa-edge fa-lg'>fa-lg</i><br/>
<i class='fab fa-edge fa-2x'>fa-2x</i><br/>
<i class='fab fa-edge fa-3x'>fa-3x</i><br/>
<i class='fab fa-edge fa-4x'>fa-4x</i><br/>
<i class='fab fa-edge fa-5x'>fa-5x</i><br/>
Output:
fa-lgfa-2x
fa-3x
fa-4x
fa-5x
Edge font awesome icon with Fixed Width
All the font awesome icons does not have same width.
For example Edge 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-edge fa-fw fa-3x'></i>Fixed Width<i style='border:1px solid;' class='fab fa-edge 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
Edge font awesome icon Border
To add border to Edge font awesome icon, use fa-border class.
<i class='fab fa-edge fa-border fa-3x'></i>
Output:
Pull Edge font awesome icon To the left
To pull Edge icon to the left of the container use fa-pull-left class.
<div style='width: 200px;'>
<i class='fab fa-edge fa-pull-left fa-3x'></i>
... The text after Edge Icon will be displayed on the right side of the icon.
</div>
<div style = 'clear: both;'></div>
Output:
Pull Edge font awesome icon To the left
To pull Edge icon to the right of the container use fa-pull-right class.
<div style='width: 200px;'>
<i class='fab fa-edge fa-pull-right fa-3x'></i>
... The text after Edge Icon will be displayed on the left side of the icon.
</div>
<div style = 'clear: both;'></div>
Output:
Animate Edge font awesome icon
To animate Edge font awesome icon, use fa-spin class.
<i class='fab fa-edge fa-spin fa-3x'></i>
Output:
Animate Edge font awesome icon with steps
While animating the font awesome icon,We can rotate Edge icon in 8 steps instead of uniform rotation.
We can use fa-pulse icon along with fa-spin class.
<i class='fab fa-edge fa-spin fa-pulse fa-3x'></i>
Output:
Rotate Edge font awesome icon
To rotate Edge font awesome icon, Use fa-rotate-x class
Where ‘x’ represents degree of rotation.
<div>
<i class='fab fa-edge fa-3x'>R</i>normal<br/><br/>
<i class='fab fa-edge fa-rotate-90 fa-3x'>R</i> fa-rotate-90<br/><br/>
<i class='fab fa-edge fa-rotate-180 fa-3x'>R</i> fa-rotate-180<br/><br/>
<i class='fab fa-edge 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 Edge font awesome icon
To flip Edge font awesome icon horizontally and vertically use fa-flip-horizontal and fa-flip-vertical classes.
<div>
<i class='fab fa-edge fa-3x'>F</i> Normal <br>
<i class='fab fa-edge fa-flip-horizontal fa-3x'>F</i> fa-flip-horizontal<br>
<i class='fab fa-edge fa-flip-vertical fa-3x'>F</i> fa-flip-vertical<br>
</div>
Output:
F fa-flip-horizontal
F fa-flip-vertical
Combine Edge 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 Edge 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-edge fa-stack-1x'></i>
</span>
Edge on fa-square<br>
<span class='fa-stack fa-lg'>
<i class='fas fa-circle fa-stack-2x'></i>
<i class='fab fa-edge fa-stack-1x fa-inverse'></i>
</span>
Edge on fa-circle<br>
<span class='fa-stack fa-lg'>
<i class='fab fa-edge fa-stack-1x'></i>
<i class='fas fa-ban fa-stack-2x'></i>
</span>
Edge on fa-ban
</div>
Output:
Edge on fa-circle
Edge on fa-ban
