This is the approach you don't need to use padding , just set the height and width for the a and let the flex handle with margin: 0 auto... Start with the documentation here.. Icon buttons and conditional rendering. You can manage size of icon(fa fa check circle) by using font-size css style. To apply them, use the following properties: for a font icon, use the Icon attribute to set the font icon class. You can get steps to add HTML icon Check circle in Web, Font Awesome and other framwork. UPDATE: As xavier pointed out below, font-awesome has Stacked Icons which will let you put a circle behind an icon without using a hack. Go Make Something Awesome. Here is an image of an icon set that is similar. Media Play Circle icons.Get an infinite number of icons in SVG, PNG or font format with all kinds of smart abilities. The table below shows all Font Awesome Form icons : Icon Description Example; fa fa-check-square: Try it: fa fa-check-square-o: Try it: fa fa-circle: Try it: fa fa-circle-o: Try it: fa fa-dot-circle-o: Try it: ... W3Schools is optimized for learning, testing, and training. You can also do this. I wanted to add a circle around my icomoon icons. Here is the code. span { Make Font Awesome icons have a circle background #fontawesome Raw gistfile1.html This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. padding: 0.5em 0.6em; The stacked icons only work up till 2x. First make sure you have added Font Awesome Icon library. And while we’re at it, let’s look at the effect of Vue … Font size: Behavior. Circle up Icon is given below. To review, open the file in an editor that reveals hidden Unicode characters. To apply them, use the following properties: for a font icon, use the Icon attribute to set the font icon class. For a last example, let’s consider a common use case for icons: toolbar buttons. You don't need css or html tricks for it. You can manage size of icon(fa solid … Essentially, you stack whichever icon you want on top of their fa-circle icon.