0

我正在使用 CommandBar 组件来显示链接。(按钮是 href 链接)。我想在悬停时从按钮中删除下划线。是否可以?在此处输入图像描述

https://developer.microsoft.com/en-us/fluentui#/controls/web/commandbar

4

1 回答 1

1

如果你想在悬停时删除按钮的下划线,也许你可以做这样的事情

button: hover{
text-decoration: none;
}

让我知道这是否对你有用

于 2021-04-28T14:00:05.857 回答