quarta-feira, 15 de outubro de 2014

trocando texto com css

<html>
<head><title>trocando texto html</title>
<style>
button {
  position: absolute;
  visibility: hidden;
}

button:before {
  content: "novo texto";
  visibility: visible;
}
</style>
</head>
<body>
<button>texto original</button>
</body>
</html>


Fonte: http://stackoverflow.com/questions/7896402/how-can-i-replace-text-through-css