D
D
Dmitry2018-06-05 10:46:06
css
Dmitry, 2018-06-05 10:46:06

How to add FontAwesome to a button?

Please tell me how to add an 5b163f7deb706371426132.pngicon from fontawesome fonts to this button, if the button is via input type="submit"

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
Jumandjilos, 2018-06-05
@Jumandjilos

You can use ::after or ::before to add, set the button itself to position:relative, and position:absolute to the pseudo-element, well, use the left, right, top, botom properties

A
Andrey Gavrilov, 2018-06-05
@thexaver

Add with content in css

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question