Last Updated: February 25, 2016
·
825
· jebbie

i18n in pure css with "content"

i just stumbled upon the possibility to use an attribute of the tag as the "content" attribute in css!

a[title]:hover:after {
  content: attr(title);
}

a little more details: http://css-tricks.com/css-content/

and to give some context..

Picture