|
Hi I am using Blazor 8 + interactiveServer but noticed my css is not coming through to my controls. This works when it is in the same razor page. If say this page is called home.razor, and I create a page called home.razor.css (ie doing isolation of css). Only the h1 tag will get the style applied to it. |
Answered by
crdo
Nov 23, 2023
Replies: 1 comment 1 reply
|
You have to use ::deep as per Blazor docs. https://learn.microsoft.com/en-us/aspnet/core/blazor/components/css-isolation?view=aspnetcore-7.0 |
1 reply
Answer selected by
chobo2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You have to use ::deep as per Blazor docs. https://learn.microsoft.com/en-us/aspnet/core/blazor/components/css-isolation?view=aspnetcore-7.0