关于magento2:How-to-add-tooltip-in-Magento-2

I am using a custom template and just added:

<span class="custom-tooltip">
    <a href="#" class="tooltip-toggle">Test ?</a>
    <span class="tooltip-content">Tolltip description come here</span>
</span>

and than added below style code in my theme styles-l.css

.custom-tooltip {
    .lib-tooltip(right);
}

and run command below
bin/magento setup:upgrade

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理