Our final button should invite the user to click it and display a logo on the left side of the buttonWe create this customization by reusing the classes” btn ” along with “btn-filestack” and adding a new “btn-widget” CSS class.
Border and size
Now let’s start working on border and size:
We can easily use the border-radius to round the borders and add padding. Moreover, we set the font size at 12px, similar to the original font family. We also set the font to Open Sans with a font-weight of 600.
Styling the icon
Styling the icon is a little bit tricky. You need to use few words to maintain a fixed size so the background equals the icon size. After that add a fixed position and the no-repeat attribute. The background doesn’t cover the entire button — instead, it takes care of the icon styling.