Slide 12
Slide 12 text
12
§ In Blazor 3.2, CSS had to be global
§ No intrinsic component-specific styles
§ With .NET 5, Blazor components can be encapsulated, including styles
§ “Namespaced” to the component
§ CSS supported out-of-the box
§ Styles will be merged at compile time and included in one file via
tag
§ SASS support easy to implement with Nuget packages, e.g.
LibSassBuilder
Real-World Blazor WebAssembly
5(+) Dinge, die Sie kennen sollten
Component-specific styles