office-ui-fabric - 命令栏按钮悬停
问题描述
我正在使用 CommandBar 组件来显示链接。(按钮是 href 链接)。我想在悬停时从按钮中删除下划线。是否可以?在此处输入图像描述
https://developer.microsoft.com/en-us/fluentui#/controls/web/commandbar
解决方案
如果你想在悬停时删除按钮的下划线,也许你可以做这样的事情
button: hover{
text-decoration: none;
}
让我知道这是否对你有用
推荐阅读
- android - 是否可以重新路由 FCM 的应用内消息弹出窗口?
- php - 如何使用 eloquent 从数据库中检索 created_at 数据
- php - PHP中某个字符后1个字符的最小值
- python - 从从 CSV 文件加载的列表中删除括号和单引号
- python-3.x - 如何在使用 openpyxl 打开 excel 时强制使用数字/浮点分隔符?
- node.js - TypeORM:从订阅者中排除种子
- kubernetes - Ansible - 如果值不存在,则迭代项目并执行任务
- elasticsearch - Amazon Neptune 全文搜索 - 指定字段
- asp.net-core - 使用 Entity Framework Core 的 Blazor 并发问题
- android - 无法启动活动 ComponentInfo {className} java.lang.IllegalStateException:未找到颜色!(Android JetPack 撰写)