html - Overlaying Image ontop of FontAwesomeIcon -


i designing personal website , wanted use font-awesome icons. unfortunately, font-awesome doesn't have every single icon , wanted python icon. have downloaded python icon separately different source , want place image on top of font awesome icon.

this image of how did when both icons font-awesome:

please click here see how look

could please telling me how this.

fontawesome provides class fa-stack overlap 2 icons. try this,

<span class="fa-stack fa-lg">   <i class="fa fa-twitter fa-stack-1x"></i>   <img src="http://placehold.it/40x40" class=" fa-stack-1x" style="width: 100%;opacity: 0.5;"> </span> 

thanks!


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -