Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

space necessary after <i class="fa"></i>? #6862

Closed
soelen opened this issue Jul 2, 2015 · 1 comment
Closed

space necessary after <i class="fa"></i>? #6862

soelen opened this issue Jul 2, 2015 · 1 comment
Labels

Comments

@soelen
Copy link

soelen commented Jul 2, 2015

hello, I'm not sure where to ask this question, please excuse me if I posted this question on the wrong place.

how far is it necessary to add a space after you use a font awesome class inside an i element? Technically I could simply add a margin to the right in order to create a gap between the i element and the text, right? Or

@tagliala
Copy link
Member

tagliala commented Jul 2, 2015

Hi,

you don't need to add a space but if you need some spacing between the icon and some text you can add a space (<i class="fa fa-icon"></i> Icon Label) or add some margin in the css, useful if you are dealing with minimized html or generated content (<i class="fa fa-icon my-class-with-margin"></i>Icon Label), according to your needs

Hope it helps

Closing here but feel free to comment

@tagliala tagliala closed this as completed Jul 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants