简体   繁体   English

命令栏按钮 Hover

[英]CommandBar Buttons Hover

I am using the CommandBar Component to display links.我正在使用 CommandBar 组件来显示链接。 (The buttons are href links). (按钮是 href 链接)。 I want to remove the underline from buttons when hover.我想在 hover 时从按钮上删除下划线。 Is it possible?可能吗? enter image description here在此处输入图像描述

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

If you want to remove the underline of a button when hover, maybe you can do something like this如果您想在 hover 时删除按钮的下划线,也许您可以这样做

button: hover{
text-decoration: none;
}

Let me know if that worked for you让我知道这是否对你有用

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在CommandBar中显示下拉列表的推荐方法 - Recommended approach to display Dropdown in CommandBar 将项目推送到流畅的 ui 命令栏组件 - Push items to fluent ui commandbar component 更新到Fabric 6后如何在CommandBar中获取搜索框 - How to get search box in `CommandBar` after update to Fabric 6 在Office UI Fabric React CommandBar中使用SearchBox - Using the SearchBox in Office UI Fabric React CommandBar 如何使用 Office UI Fabric React 在 CommandBar 菜单中显示喙? - How to show beaks in CommandBar menus with Office UI Fabric React? 使用react hooks在Office Fabric CommandBar onClick事件中调用异步方法吗? - Call async method in Office Fabric CommandBar onClick event using react hooks? Office-UI-Fabric-React:如何替换 CommandBar 菜单中的“ChevronDown”和“ChevronRight”图标? - Office-UI-Fabric-React: How to replace the icons "ChevronDown" and "ChevronRight" in a CommandBar menu? 如何在React Fabric-UI的CommandBar中显示Persona组件? - How can I display a Persona component in a CommandBar in React Fabric-UI? 在 SPFx 项目中使用 React CommandBar 时,如何在单独的文件中构建 items[] 数组,包括设置父组件 state? - When using React CommandBar in SPFx project, how can build items[] array in separate file including setting parent component state? Office UI Fabric反应mergeStyles:hover选择器 - Office UI Fabric react mergeStyles :hover selector
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM