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

Added ability to specify sticker image in attribute #6

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

antriver
Copy link

@antriver antriver commented Nov 1, 2015

Instead of having to specify the "background-image" for every sticker in the CSS, this lets you define it on the sticker element like this:

<div class="sticker" data-sticker-img="http://img.ctrlv.in/img/15/11/01/5635d779dd3e4.png"></div>

That url then gets set as the background-image style on the .sticker-img element that is created inside.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant