我正在尝试遵循 material-ui 自定义样式 和 链接,但不确定如何覆盖
我修改了全局的
结果就像是:
我该如何覆盖以下内容?
classes
并使用 withStyles
。 <Breadcrumbs aria-label="breadcrumb" separator=" " className="menu">
<Link color="inherit" href="/home">
Home
</Link>
</Breadcrumbs>
我修改了全局的
app.css
文件。a:hover{
border-bottom: 1px solid red
}
结果就像是:
Home
----
---- <- I have 2 underlines now when hovering over the link. The bottom one will be red.
我该如何覆盖以下内容?
Home
---- <- only 1 red underline shown when hovering over the link
color:red
,因为它也会改变文本的颜色。谢谢! - jen007