I use CSS Isolation, but when I use builder.Services.AddRazorPages().AddRazorRuntimeCompilation(); CSS Isolation not works.
<link rel="stylesheet" href="~/WebApplication1.styles.css" asp-append-version="true" />
All styles will be loaded, but not afford to my elements.
h1[b-2uayqwgjuo]{
color:red;
}
/* _content/WebApplication1/Pages/Privacy.cshtml.rz.scp.css */
h1[b-5u69ocmej3]{
color:blue;
}
How can I handle that.
You have to use,
::deepfor exampleIf you want to set style to
first-name-inputyou have to do like this:Summary: If any elements doesn't have random element like
5u69ocmej3you have to set style for those like above codes.