Hover this

Now that you've hovered this, the image is gone, some other decorations are added, the background is a different color, this is a different text and color. And this text changed even though you didn't hover the text, you only hovered the box. How can I make something like this in Divi?