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 belowbin/magento setup:upgrade
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论