Issue
I want to use one of the color variants for text, how can I do this? I have tried:
<h2 class="red--text lighten-1--text">My Address</h2>
<h2 class="red--text lighten-1">My Address</h2>
<h2 class="red-lighten-1--text">My Address</h2>
and many other variations, but I can only seem to get the text to go the base red color, not the variants listed here. Can anyone help?
Solution
class="red--text text--lighten-5"
from the docs
Text colors also support darken and lighten variants using text--{lighten|darken}-{n}
or you can inspect elements and pick up classes from there
Answered By - fila90
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.