-
Notifications
You must be signed in to change notification settings - Fork 9
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
card-hover tooltips #9
Conversation
Added a hover-text to the "Shared Values"-card with a link to freecodecamp.org
Diminished the fadeOut-speed from 0.6s to 0.4s
Great idea @Otto-AA! Looks good! :) Some things to consider:
@robeerob What are your thoughts on that? |
@DDCreationStudios If you mean the class ".hoverable", it's only for adding a shadow to the element, whereas mine is to show more content. I also tried it with tooltips (http://materializecss.com/dialogs.html) but I didn't manage to put clickable links there (The tooltip disappears when moving over it). Regarding the design, I'll think more about it back at home... |
@DDCreationStudios P.S. I have updated the styles.css file to be more crossbrowser. Only checked it in Firefox though, so feedback if it works in other browsers would be appreciated. |
Adding the visibility-property. Without it, one could hover the invisible card and it would appear. Now, the hover-info will only appear when hovering the original element or the visible hover-info.
Here is a Pen to mess around with this current version: https://codepen.io/A_A/pen/VzBWNV?editors=0100 |
Love the look and feel of this, and it's a nice additional feature. Well done, @Otto-AA. Merged after reading the conversation, testing locally, and seeing that @DDCreationStudios +1 your last update. |
Adding a .card-hover class to the styles.css file and using this class in the index.html file. With this, one can hover a card and can read more information / click useful links.
Feel free to leave feedback on my changes (and on my github behaviour, as I'm fairly new to it ;)