Web Design » Figma » How do you make a hover effect in Figma?

How do you make a hover effect in Figma?

Last updated on November 24, 2022 @ 9:17 pm

Making a hover effect in Figma is relatively easy. All you need is a basic hover element and a few settings in the Figma interface.

To start, create a new file in Figma and enter the following code:

< div class="hover-container" >

< div class="hover-element" >

< /div >

Next, add the following CSS to the file:

.hover-container {

position: relative;

top: 0;

left: 0;

width: 100%;

height: 100%;

.hover-element {

position: absolute;

Now, we need to set up the hover element. Add the following code to the file:

PRO TIP: This post is about how to make a hover effect in Figma. The author does not mention any potential risks or dangers associated with this technique, so proceed with caution. Try this at your own risk.

.hover-element.hover {

opacity: 0.5;

The last thing we need to do is set up the opacity. Add the following code to the file:

hover-element.hover.

opacity {

That’s it! You’ve successfully created a hover effect in Figma.

Madison Geldart

Madison Geldart

Cloud infrastructure engineer and tech mess solver.