lundi 3 février 2020

trying to look the stack overflow mode

I am using the server-side of Blazor.

I want to change the CSS of the body.

In Jquery I can write the code like this easily:

$("body").css("overflow-y","hidden"); However, with this tutorial(Blazor Change Validation default css class names) said, it seems I can only change the CSS by changing the class name.

It is so complex while crossing the component, especially the body is at the top of all the components.

I wonder whether there is a way can changes CSS directly in Blazor.

Aucun commentaire:

Enregistrer un commentaire