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

SVG Icon Shadow + Icon Bounce Implementation. #21

Open
SuberFu opened this issue Jul 19, 2016 · 1 comment
Open

SVG Icon Shadow + Icon Bounce Implementation. #21

SuberFu opened this issue Jul 19, 2016 · 1 comment

Comments

@SuberFu
Copy link

SuberFu commented Jul 19, 2016

I have an implementation of an SVG Icon Shadow and Icon Bounce function here that was based off an older release of you VectorMarker library.
VectorMarker

I am, however, not sure how implement it into your source, so I'm posting here for your reference. Hope it will help with your SVG shadow implementation.

The basic gist is using the transform attribute on the g svg element to skew and scale original SVG element to make it look like a shadow, and transform the svg and the containing div to realign the base of the shadow.

P.S. The source doesn't look like generic javascript, what exactly is it?

@hiasinho
Copy link
Owner

hiasinho commented Aug 2, 2016

Thanks for that! I'll check it as soon I got time for it.
The source is ES6 processed by webpack.

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