I'm building a site and have been given a piece of HTML code to animate the header text.

She makes things that not only look amazing, but also
<span class="cd-words-wrapper waiting">
<b class="is-visible">Websites</b> 
As I'm using Wordpress, is there a way for me to recreate this effect using CSS code?

The website I want the text effect for is https://www.kamilazawa.com/
The website header I want it too recreate is https://themebeans.com/themes/york/