Change opacity on hover

Hi everyone,

I hope you can help me achieve something which I can’t figure out how to do.

At the top of my website, I have three lines. When hovering over one of these lines I want it to change to text, i.e Portfolio, or About Me.

So far, I’ve added the lines and the text above it. I’ve managed to animate the text to disappear and re-appear on hover.

I have added animation to the lines as well and it works when I’m testing it but when I go to preview view, it’s not working any longer.

Would anyone be able to help me with this?

Here’s my link

Many thanks

new link Webflow - Portfolio

Hi Jonna,

Can you explain the exact animation you’re going for? Should the user see text with lines behind it when they land on the page? And then when they hover over it the lines disappear?

Let me know, and I should be able to help you out!

Hi Michael,

Thanks for getting back to me!

When the user lands on the page, I want only the lines to be visible. When the user hovers over the lines, I want them to disappear and instead the text should appear.


I’ve managed to solve the problem in the end!


1 Like