admin管理员组文章数量:1220777
I'm new to FluentUI. I just started a MAUI/Blazor hybrid app and I'm struggling to apply the styles that I want to my FluentUI components.
Styling works when I use inline styling.
For example:
<FluentHeader Style="background-color:blueviolet">
Header text
</FluentHeader>
and this works.
But when I add a class to the component and then try to style it using mycomponent.razor.css
, it does not work. Am I missing something about FluentUI? I have read the documentation and I found things like design tokens but still did not try those.
Can someone please tell me how to do this? Thanks
本文标签: cssHow can I style a FluentUI component in BlazorStack Overflow
版权声明:本文标题:css - How can I style a FluentUI component in Blazor? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1739261757a2155401.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论