I'm a newbie to using Blazor and I'm currently experimenting with changing the style of InputText
by utilizing css isolation
.
Interestingly, I've managed to successfully change the style when setting it inline or internally, however, things take a different turn when attempting to do so with css isolation. After consulting the documentation, it asserts that
Scoped CSS exclusively affects HTML elements and not Razor components or Tag Helpers, which includes elements with a Tag Helper applied, like < input asp-for="..."> /.
Could InputText be considered a Razor component, causing the hiccup in changing the style through css isolation? Any tips would be greatly appreciated!