Skip to content

Custom CSS #3482

Answered by ElderJames
mahmudmihon asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @mahmudmihon ,

  • If you are using css isolation, you need to add a div to warp the components, then use the css selector like div::ant-btn .
  • Otherwise, you can just use global css to change the style of components.

Here is the document:
https://learn.microsoft.com/en-us/aspnet/core/blazor/components/css-isolation?view=aspnetcore-5.0

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mahmudmihon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants