A Pen by xtechnology on CodePen.
Created
July 9, 2023 14:59
-
-
Save XTechnology-TR/e1c2244cf3476ba410fd1fbf9ceccc5a to your computer and use it in GitHub Desktop.
Incredible
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>XTechnology</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
min-height: 100vh; | |
background-color: black; | |
} | |
h1 { | |
color: white; | |
font-family: Helvetica; | |
font-size: 150px; | |
letter-spacing: -4px; | |
position: relative; | |
color: transparent; | |
background-image: linear-gradient(to right, white, white, transparent); | |
background-size: 200% 100%; | |
background-repeat: no-repeat; | |
-webkit-background-clip: text; | |
background-position-x: 200%; | |
animation: 2s fillup ease-in-out 2s forwards; | |
} | |
h1::after { | |
content: "XTechnology"; | |
position: absolute; | |
top: 0; | |
left: 0; | |
-webkit-text-stroke: 2px; | |
-webkit-text-stroke-color: white; | |
-webkit-text-fill-color: transparent; | |
opacity: 0; | |
animation: 2s fadein ease-in-out forwards; | |
} | |
@keyframes fillup { | |
from { | |
background-position-x: 200%; | |
} | |
to { | |
background-position-x: 0%; | |
} | |
} | |
@keyframes fadein { | |
from { | |
opacity: 0; | |
} | |
to { | |
opacity: 1; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment