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..
Written by Remo Vetere
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Css
Authors
Related Tags
#css
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#