123
user profile image

Using the css data-attribute function for a sexy CSS hover On a cool button. Great to use for lightweight tooltips without javascript.

Comments

  1. I can't wait till we can use data-attributes for purposes other than text content… I would love to be able to pass in things like URLs to images. Would be super useful! Check out this little media block pen - it would be so cool if we could pass in little avatars instead of letters http://codepen.io/auginator/pen/xHlhb

Leave a Comment Markdown supported. Click @usernames to add to comment.

You must be logged in to comment.
Loading...