Skip to content

Instantly share code, notes, and snippets.

@Jul10l1r4
Last active February 10, 2018 23:34
Show Gist options
  • Save Jul10l1r4/28ab71667d33e1bae8a36f9178e9fd43 to your computer and use it in GitHub Desktop.
Save Jul10l1r4/28ab71667d33e1bae8a36f9178e9fd43 to your computer and use it in GitHub Desktop.
Nem leia nao, muitos bilhões de códigos aq, ele faz o texto ter imagem de fundo!!!!
<html>
<body>
<style>
h1{
/* Acho que você já conhece o background image, n? */
background-image: url(https://media.giphy.com/media/JGQe5mxayVF04/giphy.gif);
/* Aqui entra a mágica! Olha isso, DEUSUSS */
-webkit-background-clip: text;
/* Ah, eu só quero parecer certinho, mas esse text-fill-color pode ser muito bem substituido por color */
-webkit-text-fill-color: transparent /* Pronto fí, como nós NAO QUEREMOS cor de fundo então, faremos ele trasparente né?! */
}
</style>
<h1>MUITOS CÓDIGOS, NÃO?</h1>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment