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

Text first #20

Open
johnmarlow007 opened this issue Aug 13, 2017 · 1 comment
Open

Text first #20

johnmarlow007 opened this issue Aug 13, 2017 · 1 comment

Comments

@johnmarlow007
Copy link

johnmarlow007 commented Aug 13, 2017

Hello.
First of all, this is a GREAT project! Congratulations!
Secondly, this is not an issue, but an idea.
I would need (and I think many others too) the text to be first and then animation to turn the circle/square into the image.
Is there an option for that or can this be a development idea?
Thank you so much.
Andy.

@johnmarlow007
Copy link
Author

Hi all.
I see there is not too much activity around this project, but still it's awesome!!! :)
I have done the change I needed and I want to just put it here in case someone else needs this.

I thought the way to go about it in order to keep the old style is, instead of having the "info" and "img" classes, to create 2 sets of classes for the 2 text/image priorities, like:
"info_1st" and "img_2nd" or "info1" and "img2"
so then the current classes can be renamed "img_1st" and "info_2nd" or "img1" and "info2" and not disturb any of the existing functionality.

Anyway, here is my codepen with this customization.

I would be happy to get some feedback about this and if a lot of people like it, we can implement it in the kernel and actually double the number of options with Text-first and Image-first styles.

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

No branches or pull requests

1 participant