Imdb font awesome icon Usage,CSS Class Name,SVG & CSS Content Code
Imdb
font awesome icon css class name is fa-imdb
and CSS Content Code is \f2d8
.
Imdb
font awesome icon is part of brands icons.
Imdb
font awesome icon usage
We can display Imdb
font awesome icon using 3 different ways depending upon our requirement.
Using CSS Class Name
Using CSS Content Code
Using SVG
Imdb
font awesome icon CSS class name
To display Imdb
font awesome icon, add predefined class name i.e.,fa-imdb
(with prefix fa-
) to the i
tag.
And we need to add corresponding font awesome icon style for the Imdb
icon.
Imdb
icon has 1 icon style i.e.,brands.
We need to append icon style class fab
.
<i class='fab fa-imdb'></i>
Output:
Imdb
font awesome icon CSS Content Code
We can display Imdb
font awesome icon using it’s CSS Content Code \f2d8
Use the following HTML code
<li><span class='Imdb fontawesomeicon'></span>Imdb</li>
Apply CSS code
<style>
.fontawesomeicon::before {
display: inline-block;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
}
.Imdb::before {
font: var(--fa-font-brands);
content: ' \f2d8';
}</style>
Output:
For the detailed tutorial visit https://www.angularjswiki.com/fontawesome/csscontentcode/
Imdb
font awesome icon SVG
Use the following icon SVG to display Imdb
font awesome icon.
<svg class='fontawesomesvg' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 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="M89.5 323.6H53.93V186.2H89.5V323.6zM156.1 250.5L165.2 186.2H211.5V323.6H180.5V230.9L167.1 323.6H145.8L132.8 232.9L132.7 323.6H101.5V186.2H147.6C148.1 194.5 150.4 204.3 151.9 215.6L156.1 250.5zM223.7 323.6V186.2H250.3C267.3 186.2 277.3 187.1 283.3 188.6C289.4 190.3 294 192.8 297.2 196.5C300.3 199.8 302.3 203.1 303 208.5C303.9 212.9 304.4 221.6 304.4 234.7V282.9C304.4 295.2 303.7 303.4 302.5 307.6C301.4 311.7 299.4 315 296.5 317.3C293.7 319.7 290.1 321.4 285.8 322.3C281.6 323.1 275.2 323.6 266.7 323.6H223.7zM259.2 209.7V299.1C264.3 299.1 267.5 298.1 268.6 296.8C269.7 294.8 270.4 289.2 270.4 280.1V226.8C270.4 220.6 270.3 216.6 269.7 214.8C269.4 213 268.5 211.8 267.1 210.1C265.7 210.1 263 209.7 259.2 209.7V209.7zM316.5 323.6V186.2H350.6V230.1C353.5 227.7 356.7 225.2 360.1 223.5C363.7 222 368.9 221.1 372.9 221.1C377.7 221.1 381.8 221.9 385.2 223.3C388.6 224.8 391.2 226.8 393.2 229.5C394.9 232.1 395.9 234.8 396.3 237.3C396.7 239.9 396.1 245.3 396.1 253.5V292.1C396.1 300.3 396.3 306.4 395.3 310.5C394.2 314.5 391.5 318.1 387.5 320.1C383.4 324 378.6 325.4 372.9 325.4C368.9 325.4 363.7 324.5 360.2 322.9C356.7 321.1 353.5 318.4 350.6 314.9L348.5 323.6L316.5 323.6zM361.6 302.9C362.3 301.1 362.6 296.9 362.6 290.4V255C362.6 249.4 362.3 245.5 361.5 243.8C360.8 241.9 357.8 241.1 355.7 241.1C353.7 241.1 352.3 241.9 351.6 243.4C351 244.9 350.6 248.8 350.6 255V291.4C350.6 297.5 351 301.4 351.8 303C352.4 304.7 353.9 305.5 355.9 305.5C358.1 305.5 360.1 304.7 361.6 302.9L361.6 302.9zM418.4 32.04C434.1 33.27 447.1 47.28 447.1 63.92V448.1C447.1 464.5 435.2 478.5 418.9 479.1C418.6 479.1 418.4 480 418.1 480H29.88C29.6 480 29.32 479.1 29.04 479.9C13.31 478.5 1.093 466.1 0 449.7L.0186 61.78C1.081 45.88 13.82 33.09 30.26 31.1H417.7C417.9 31.1 418.2 32.01 418.4 32.04L418.4 32.04zM30.27 41.26C19 42.01 10.02 51.01 9.257 62.4V449.7C9.63 455.1 11.91 460.2 15.7 464C19.48 467.9 24.51 470.3 29.89 470.7H418.1C429.6 469.7 438.7 459.1 438.7 448.1V63.91C438.7 58.17 436.6 52.65 432.7 48.45C428.8 44.24 423.4 41.67 417.7 41.26L30.27 41.26z"/></svg>
Use the following HTML code
<p>This <svg class='fontawesomesvg' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 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="M89.5 323.6H53.93V186.2H89.5V323.6zM156.1 250.5L165.2 186.2H211.5V323.6H180.5V230.9L167.1 323.6H145.8L132.8 232.9L132.7 323.6H101.5V186.2H147.6C148.1 194.5 150.4 204.3 151.9 215.6L156.1 250.5zM223.7 323.6V186.2H250.3C267.3 186.2 277.3 187.1 283.3 188.6C289.4 190.3 294 192.8 297.2 196.5C300.3 199.8 302.3 203.1 303 208.5C303.9 212.9 304.4 221.6 304.4 234.7V282.9C304.4 295.2 303.7 303.4 302.5 307.6C301.4 311.7 299.4 315 296.5 317.3C293.7 319.7 290.1 321.4 285.8 322.3C281.6 323.1 275.2 323.6 266.7 323.6H223.7zM259.2 209.7V299.1C264.3 299.1 267.5 298.1 268.6 296.8C269.7 294.8 270.4 289.2 270.4 280.1V226.8C270.4 220.6 270.3 216.6 269.7 214.8C269.4 213 268.5 211.8 267.1 210.1C265.7 210.1 263 209.7 259.2 209.7V209.7zM316.5 323.6V186.2H350.6V230.1C353.5 227.7 356.7 225.2 360.1 223.5C363.7 222 368.9 221.1 372.9 221.1C377.7 221.1 381.8 221.9 385.2 223.3C388.6 224.8 391.2 226.8 393.2 229.5C394.9 232.1 395.9 234.8 396.3 237.3C396.7 239.9 396.1 245.3 396.1 253.5V292.1C396.1 300.3 396.3 306.4 395.3 310.5C394.2 314.5 391.5 318.1 387.5 320.1C383.4 324 378.6 325.4 372.9 325.4C368.9 325.4 363.7 324.5 360.2 322.9C356.7 321.1 353.5 318.4 350.6 314.9L348.5 323.6L316.5 323.6zM361.6 302.9C362.3 301.1 362.6 296.9 362.6 290.4V255C362.6 249.4 362.3 245.5 361.5 243.8C360.8 241.9 357.8 241.1 355.7 241.1C353.7 241.1 352.3 241.9 351.6 243.4C351 244.9 350.6 248.8 350.6 255V291.4C350.6 297.5 351 301.4 351.8 303C352.4 304.7 353.9 305.5 355.9 305.5C358.1 305.5 360.1 304.7 361.6 302.9L361.6 302.9zM418.4 32.04C434.1 33.27 447.1 47.28 447.1 63.92V448.1C447.1 464.5 435.2 478.5 418.9 479.1C418.6 479.1 418.4 480 418.1 480H29.88C29.6 480 29.32 479.1 29.04 479.9C13.31 478.5 1.093 466.1 0 449.7L.0186 61.78C1.081 45.88 13.82 33.09 30.26 31.1H417.7C417.9 31.1 418.2 32.01 418.4 32.04L418.4 32.04zM30.27 41.26C19 42.01 10.02 51.01 9.257 62.4V449.7C9.63 455.1 11.91 460.2 15.7 464C19.48 467.9 24.51 470.3 29.89 470.7H418.1C429.6 469.7 438.7 459.1 438.7 448.1V63.91C438.7 58.17 436.6 52.65 432.7 48.45C428.8 44.24 423.4 41.67 417.7 41.26L30.27 41.26z"/></svg>
Imdb displayed using SVG</p>
Apply CSS code
<style>
.fontawesomesvg {width: 1em;
height: 1em;
vertical-align: -.125em;
}
</style>
Output:
This Imdb displayed using SVG
Change Imdb
font awesome icon size
To increase Imdb
font awesome icon size, use the fa-lg(33 % increase)
, fa-2x
, fa-3x
, fa-4x
, or fa-5x
classes along with icon class \f2d8.
Increase in icon size will be relative to their parent container.
<i class='fab fa-imdb fa-lg'>fa-lg</i><br/>
<i class='fab fa-imdb fa-2x'>fa-2x</i><br/>
<i class='fab fa-imdb fa-3x'>fa-3x</i><br/>
<i class='fab fa-imdb fa-4x'>fa-4x</i><br/>
<i class='fab fa-imdb fa-5x'>fa-5x</i><br/>
Output:
fa-lgfa-2x
fa-3x
fa-4x
fa-5x
Imdb
font awesome icon with Fixed Width
All the font awesome icons does not have same width.
For example Imdb
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-imdb fa-fw fa-3x'></i>Fixed Width<i style='border:1px solid;' class='fab fa-imdb 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
Imdb
font awesome icon Border
To add border to Imdb
font awesome icon, use fa-border
class.
<i class='fab fa-imdb fa-border fa-3x'></i>
Output:
Pull Imdb
font awesome icon To the left
To pull Imdb
icon to the left of the container use fa-pull-left
class.
<div style='width: 200px;'>
<i class='fab fa-imdb fa-pull-left fa-3x'></i>
... The text after Imdb Icon will be displayed on the right side of the icon.
</div>
<div style = 'clear: both;'></div>
Output:
Pull Imdb
font awesome icon To the left
To pull Imdb
icon to the right of the container use fa-pull-right
class.
<div style='width: 200px;'>
<i class='fab fa-imdb fa-pull-right fa-3x'></i>
... The text after Imdb Icon will be displayed on the left side of the icon.
</div>
<div style = 'clear: both;'></div>
Output:
Animate Imdb
font awesome icon
To animate Imdb
font awesome icon, use fa-spin
class.
<i class='fab fa-imdb fa-spin fa-3x'></i>
Output:
Animate Imdb
font awesome icon with steps
While animating the font awesome icon,We can rotate Imdb
icon in 8 steps instead of uniform rotation.
We can use fa-pulse
icon along with fa-spin
class.
<i class='fab fa-imdb fa-spin fa-pulse fa-3x'></i>
Output:
Rotate Imdb
font awesome icon
To rotate Imdb
font awesome icon, Use fa-rotate-x
class
Where ‘x’ represents degree of rotation.
<div>
<i class='fab fa-imdb fa-3x'>R</i>normal<br/><br/>
<i class='fab fa-imdb fa-rotate-90 fa-3x'>R</i> fa-rotate-90<br/><br/>
<i class='fab fa-imdb fa-rotate-180 fa-3x'>R</i> fa-rotate-180<br/><br/>
<i class='fab fa-imdb 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 Imdb
font awesome icon
To flip Imdb
font awesome icon horizontally and vertically use fa-flip-horizontal
and fa-flip-vertical
classes.
<div>
<i class='fab fa-imdb fa-3x'>F</i> Normal <br>
<i class='fab fa-imdb fa-flip-horizontal fa-3x'>F</i> fa-flip-horizontal<br>
<i class='fab fa-imdb fa-flip-vertical fa-3x'>F</i> fa-flip-vertical<br>
</div>
Output:
F fa-flip-horizontal
F fa-flip-vertical
Combine Imdb
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 Imdb
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-imdb fa-stack-1x'></i>
</span>
Imdb on fa-square<br>
<span class='fa-stack fa-lg'>
<i class='fas fa-circle fa-stack-2x'></i>
<i class='fab fa-imdb fa-stack-1x fa-inverse'></i>
</span>
Imdb on fa-circle<br>
<span class='fa-stack fa-lg'>
<i class='fab fa-imdb fa-stack-1x'></i>
<i class='fas fa-ban fa-stack-2x'></i>
</span>
Imdb on fa-ban
</div>
Output:
Imdb on fa-circle
Imdb on fa-ban