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

Cornered stacked Icons #15935

Open
amoralesdesign opened this issue Dec 12, 2019 · 1 comment
Open

Cornered stacked Icons #15935

amoralesdesign opened this issue Dec 12, 2019 · 1 comment

Comments

@amoralesdesign
Copy link

Add to this section this helper classes:
https://fontawesome.com/how-to-use/on-the-web/styling/stacking-icons

Like this example:
https://codepen.io/EeKay/pen/JYrGZg

Very useful to combine icons with anothers icons like the icon fa-plus for example.

@tagliala
Copy link
Member

Hi!

Thanks for being part of the Font Awesome Community and thanks for sharing your approach.

text-shadow works great with the CSS version, but it does not have effect on the SVG framework.

If this approach fits your use case, it is ok, but for a generic usage I would advise to use the power transforms, masking, and layering features of the SVG Framework.

Demo: https://jsfiddle.net/tagliala/L17f528g/275/

Ref:

https://fontawesome.com/how-to-use/on-the-web/styling/power-transforms
https://fontawesome.com/how-to-use/on-the-web/styling/masking
https://fontawesome.com/how-to-use/on-the-web/styling/layering

@tagliala tagliala added the doc label Dec 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants