Tag: CSS

My new best CSS friend – content: attr(data);

How to use the data attribute in CSS content

June 27th 2013 - Code


I have been experimenting with the CSS content property quite a bit lately. What I discovered is you can populate it with the HTML data attribute.

For example say we wanted an item to have a tooltip. We would write out the HTML like this…..

MIT Licence with Remy Sharp

April 1st 2012 - Code

I stumbled across a really cool project by JavaScript Remy Sharp.  The MIT License project is a public, open source permanent resource for the community. It allows you to create a single resource that would always be up to date and would always have your MIT details online. I created my own, which is very simple […]