Tooltip and Clickable link, on the same object« Back to Questions List

Hello Team,

Using CSS in Figma, I can display a tooltip when I hover over an object.

Separately, I can also put a clickable link, so that it opens a URL when I click on the object.

But I can't do the 2 together.

Please help.

Thank you

Asked by Surfcat
Added April 11, 2023 6:53 am

Do you have the right answer? If you do other users will benefit from your contribution, share your knowledge with the community!

hi, there are a few steps to do this.

1. remove the prototype for the navigation
2. create a folder/group around the object and use Class Tag
3. eg. ${class|a:title="My custom title" href="https://google.com"}
4. this will create
<a title="My custom title" href="https://google.com"></a>
in the output
Answered On April 11, 2023 7:20 am #
Looking for another answer? View other questions in CSS or get premium support for guaranteed results.
Asked by Surfcat
324 views
1 answer
Last Answered 1 year ago by Surfcat

Categories

Recent Answers

asked by nmax
asked by shanrt
asked by Ali Sodikin
[+] View All Recent Questions

Share Your Knowledge!

Contribute to the community and help other users to benefit from your answer with experience and knowledge.