Skip to content

Instantly share code, notes, and snippets.

@oktaysenkan
Last active June 8, 2021 01:33
Show Gist options
  • Select an option

  • Save oktaysenkan/2d42ce3fb3bf13bd4fc2da4206318d90 to your computer and use it in GitHub Desktop.

Select an option

Save oktaysenkan/2d42ce3fb3bf13bd4fc2da4206318d90 to your computer and use it in GitHub Desktop.
<p>opvs</p>
<p>nginx</p>
<style>
*,
::before,
::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
height: 100%;
}
p {
font-size: 200px;
font-weight: bold;
color: transparent;
-webkit-background-clip: text;
background-clip: text;
}
p:nth-child(1) {
background-image: linear-gradient(to right, #007cf0, #00dfd8);
animation: anim-gradient 6s -3s infinite;
}
p:nth-child(2) {
font-size: 20px;
background-image: linear-gradient(to right, #7928ca, #ff0080);
animation: anim-gradient 6s 0s infinite;
}
@keyframes anim-gradient {
0% {
color: black;
}
16.667% {
color: black;
}
33.333% {
color: transparent;
}
50% {
color: transparent;
}
66.667% {
color: black;
}
100% {
color: black;
}
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment