Skip to content

Instantly share code, notes, and snippets.

@Richy55-max
Created July 15, 2020 09:13
Show Gist options
  • Save Richy55-max/8bc8aac0f9afa5222d9dfdec5f3084ac to your computer and use it in GitHub Desktop.
Save Richy55-max/8bc8aac0f9afa5222d9dfdec5f3084ac to your computer and use it in GitHub Desktop.
OJMowXz
<h1>👋 Hello World</h1>
document.getElementsByTagName("h1")[0].style.fontSize = "6vw";
* {
margin: 0;
padding: 0;
border-box: box-sizing;
}
body {
min-height: 100vh;
position: relative;
display: flex;
justify-content: center;
align-items: center;
background: black;
}
h1 {
font-size: 100px;
background-image: url("https://media.giphy.com/media/l0CLUrZiblFUBMMrC/giphy.gif");
-webkit-background-clip: text;
color: transparent;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment