我想用橙色添加一些文字。它是 h4,或者只是需要改变它的颜色。
http://materializecss.com/typography.html
有不同的 Roboto 字体系列,但我不知道如何在不使用 font-family 的情况下使用它......
你可以这样做:
<h4 class='text-orange text-darken-3'>TITLE</h4>
只需将其添加到您的自定义 CSS 中即可。
.dropdown-content, .select-dropdown{
font-family: "BT Mono bold" !important;
}
正如您所提到的,matz 库中没有任何可用的 css 类。
应该是这样的 .blue-text 文本变暗-2
有关更多信息,请参阅 matz 的颜色使用部分。
我想改变颜色,那么:
<h3 class="orange">Hello world!</h4>
如果你也想给文本上色,你可以这样做
<h4 class="orange white-text">Hello world!</h4>
您必须在css文件中使用font-family
h4 {
font-family:sans-serif;
color:orange;
}