I would like to achievethis with css so I can have a title <h1>DISCOVER <span>WEB 3</span> DIMENSIONS</h1>
How would you do it ?
Thanks,
Tried google, friends who told me to ask chatgpt but not successfull…
I would like to achievethis with css so I can have a title <h1>DISCOVER <span>WEB 3</span> DIMENSIONS</h1>
How would you do it ?
Thanks,
Tried google, friends who told me to ask chatgpt but not successfull…
2
Answers
You might find it a lot easier to get your text as an image, splice it in two horizontally, and slide those two images inside a div with an animation. As far as I am aware there isn’t anything I have ever touched in CSS that does what you’re asking.
The only work around I can think of is making CSS to write out the letters via animation, and adjusting that animation to offset it when it is below a certain Y axis? That seems like a huge amount of work compared to splicing an image.
Try
Css:
HTML: