Replies: 1 comment
-
You can... but I wouldn't suggest that. <ul class="steps my-4 w-full">
<li class="step">
<div class="tooltip before:z-[2]" data-tip="tooltip 1">
<div>Text 1</div>
</div>
</li>
<li class="step">
<div class="tooltip before:z-[2]" data-tip="tooltip 2">
<div>Text 2</div>
</div>
</li>
</ul> But this way, it will show the tooltip only when the text is hovered (not the step itself or the circle) I would suggest not using the tooltip here. Let me know if you have any questions. |
Beta Was this translation helpful? Give feedback.
-
Is there a way to show a tooltip upon hover over a steps content?
Beta Was this translation helpful? Give feedback.
All reactions