Deskpro font awesome icon Usage,CSS Class Name,SVG & CSS Content Code

Deskpro font awesome icon css class name is fa-deskpro and CSS Content Code is \f38f.

Deskpro font awesome icon is part of brands icons.

Deskpro font awesome icon usage

We can display Deskpro font awesome icon using 3 different ways depending upon our requirement.

  1. Using CSS Class Name

  2. Using CSS Content Code

  3. Using SVG

Deskpro font awesome icon CSS class name

To display Deskpro font awesome icon, add predefined class name i.e.,fa-deskpro (with prefix fa-) to the i tag.

And we need to add corresponding font awesome icon style for the Deskpro icon.

Deskpro icon has 1 icon style i.e.,brands. We need to append icon style class fab.

<i class='fab fa-deskpro'></i>

Output:

Deskpro font awesome icon CSS Content Code

We can display Deskpro font awesome icon using it’s CSS Content Code \f38f

Use the following HTML code

<li><span class='Deskpro fontawesomeicon'></span>Deskpro</li>

Apply CSS code

<style> 
.fontawesomeicon::before {
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
 }

.Deskpro::before {
   font: var(--fa-font-brands);
    content: ' \f38f';
 }</style>

Output:

  • Deskpro
  • For the detailed tutorial visit https://www.angularjswiki.com/fontawesome/csscontentcode/

    Deskpro font awesome icon SVG

    Use the following icon SVG to display Deskpro font awesome icon.

    <svg class='fontawesomesvg' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 480 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="M205.9 512l31.1-38.4c12.3-.2 25.6-1.4 36.5-6.6 38.9-18.6 38.4-61.9 38.3-63.8-.1-5-.8-4.4-28.9-37.4H362c-.2 50.1-7.3 68.5-10.2 75.7-9.4 23.7-43.9 62.8-95.2 69.4-8.7 1.1-32.8 1.2-50.7 1.1zm200.4-167.7c38.6 0 58.5-13.6 73.7-30.9l-175.5-.3-17.4 31.3 119.2-.1zm-43.6-223.9v168.3h-73.5l-32.7 55.5H250c-52.3 0-58.1-56.5-58.3-58.9-1.2-13.2-21.3-11.6-20.1 1.8 1.4 15.8 8.8 40 26.4 57.1h-91c-25.5 0-110.8-26.8-107-114V16.9C0 .9 9.7.3 15 .1h82c.2 0 .3.1.5.1 4.3-.4 50.1-2.1 50.1 43.7 0 13.3 20.2 13.4 20.2 0 0-18.2-5.5-32.8-15.8-43.7h84.2c108.7-.4 126.5 79.4 126.5 120.2zm-132.5 56l64 29.3c13.3-45.5-42.2-71.7-64-29.3z"/></svg>
    
    

    Use the following HTML code

    <p>This <svg class='fontawesomesvg' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 480 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="M205.9 512l31.1-38.4c12.3-.2 25.6-1.4 36.5-6.6 38.9-18.6 38.4-61.9 38.3-63.8-.1-5-.8-4.4-28.9-37.4H362c-.2 50.1-7.3 68.5-10.2 75.7-9.4 23.7-43.9 62.8-95.2 69.4-8.7 1.1-32.8 1.2-50.7 1.1zm200.4-167.7c38.6 0 58.5-13.6 73.7-30.9l-175.5-.3-17.4 31.3 119.2-.1zm-43.6-223.9v168.3h-73.5l-32.7 55.5H250c-52.3 0-58.1-56.5-58.3-58.9-1.2-13.2-21.3-11.6-20.1 1.8 1.4 15.8 8.8 40 26.4 57.1h-91c-25.5 0-110.8-26.8-107-114V16.9C0 .9 9.7.3 15 .1h82c.2 0 .3.1.5.1 4.3-.4 50.1-2.1 50.1 43.7 0 13.3 20.2 13.4 20.2 0 0-18.2-5.5-32.8-15.8-43.7h84.2c108.7-.4 126.5 79.4 126.5 120.2zm-132.5 56l64 29.3c13.3-45.5-42.2-71.7-64-29.3z"/></svg>
     Deskpro displayed using SVG</p>
    

    Apply CSS code

    
      <style>
        .fontawesomesvg {width: 1em;
          height: 1em;
          vertical-align: -.125em;
        }
      </style>
    
    

    Output:

    This Deskpro displayed using SVG

    Change Deskpro font awesome icon size

    To increase Deskpro font awesome icon size, use the fa-lg(33 % increase), fa-2x, fa-3x, fa-4x, or fa-5x classes along with icon class \f38f. Increase in icon size will be relative to their parent container.

    <i class='fab fa-deskpro fa-lg'>fa-lg</i><br/>
    <i class='fab fa-deskpro fa-2x'>fa-2x</i><br/>
    <i class='fab fa-deskpro fa-3x'>fa-3x</i><br/>
    <i class='fab fa-deskpro fa-4x'>fa-4x</i><br/>
    <i class='fab fa-deskpro fa-5x'>fa-5x</i><br/>
    
    

    Output:

    fa-lg
    fa-2x
    fa-3x
    fa-4x
    fa-5x

    Deskpro font awesome icon with Fixed Width

    All the font awesome icons does not have same width.

    For example Deskpro 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-deskpro fa-fw fa-3x'></i>Fixed Width<i style='border:1px solid;' class='fab fa-deskpro 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 WidthNormal
    Fixed WidthNormal

    Deskpro font awesome icon Border

    To add border to Deskpro font awesome icon, use fa-border class.

    <i class='fab fa-deskpro fa-border fa-3x'></i>
    

    Output:

    Pull Deskpro font awesome icon To the left

    To pull Deskpro icon to the left of the container use fa-pull-left class.

    <div style='width: 200px;'>
    <i class='fab fa-deskpro fa-pull-left fa-3x'></i>
      ... The text after Deskpro Icon will be displayed on the right side of the icon.
    </div>
    <div style = 'clear: both;'></div>
    

    Output:

    ... The text after Deskpro Icon will be displayed on the right side of the icon.

    Pull Deskpro font awesome icon To the left

    To pull Deskpro icon to the right of the container use fa-pull-right class.

    <div style='width: 200px;'>
    <i class='fab fa-deskpro fa-pull-right fa-3x'></i>
      ... The text after Deskpro Icon will be displayed on the left side of the icon.
    </div>
    <div style = 'clear: both;'></div>
    

    Output:

    ... The text after Deskpro Icon will be displayed on the left side of the icon.

    Animate Deskpro font awesome icon

    To animate Deskpro font awesome icon, use fa-spin class.

    <i class='fab fa-deskpro fa-spin fa-3x'></i>
    

    Output:

    Animate Deskpro font awesome icon with steps

    While animating the font awesome icon,We can rotate Deskpro icon in 8 steps instead of uniform rotation.

    We can use fa-pulse icon along with fa-spin class.

    <i class='fab fa-deskpro fa-spin fa-pulse fa-3x'></i>
    

    Output:

    Rotate Deskpro font awesome icon

    To rotate Deskpro font awesome icon, Use fa-rotate-x class

    Where ‘x’ represents degree of rotation.

    <div>
    <i class='fab fa-deskpro fa-3x'>R</i>normal<br/><br/>
    <i class='fab fa-deskpro fa-rotate-90 fa-3x'>R</i> fa-rotate-90<br/><br/> 
    <i class='fab fa-deskpro fa-rotate-180  fa-3x'>R</i> fa-rotate-180<br/><br/> 
    <i class='fab fa-deskpro fa-rotate-270 fa-3x'>R</i> fa-rotate-270<br/><br/>
    </div>
    

    Output:

    Rnormal

    R fa-rotate-90

    R fa-rotate-180

    R fa-rotate-270

    Flip Deskpro font awesome icon

    To flip Deskpro font awesome icon horizontally and vertically use fa-flip-horizontal and fa-flip-vertical classes.

    <div>
    <i class='fab fa-deskpro fa-3x'>F</i> Normal <br>
    <i class='fab fa-deskpro fa-flip-horizontal fa-3x'>F</i> fa-flip-horizontal<br>
    <i class='fab fa-deskpro fa-flip-vertical fa-3x'>F</i> fa-flip-vertical<br>
    </div>
    

    Output:

    F Normal
    F fa-flip-horizontal
    F fa-flip-vertical

    Combine Deskpro 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 Deskpro 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-deskpro fa-stack-1x'></i>
        </span>
          Deskpro on fa-square<br>
        <span class='fa-stack fa-lg'>
            <i class='fas fa-circle fa-stack-2x'></i>
            <i class='fab fa-deskpro fa-stack-1x fa-inverse'></i>
        </span>
          Deskpro on fa-circle<br>
    
        <span class='fa-stack fa-lg'>
            <i class='fab fa-deskpro fa-stack-1x'></i>
            <i class='fas fa-ban fa-stack-2x'></i>
        </span>
          Deskpro on fa-ban
    </div>
    

    Output:

    Deskpro on fa-square
    Deskpro on fa-circle
    Deskpro on fa-ban
    Avatar

    Arunkumar Gudelli

    Liked this post? Subscribe