CSS Techniques for Blazor Developers
summary
Explains concrete techniques: install and run the dart Sass binary (choco/brew) and hook it into MSBuild to compile without Node; use CSS isolation generates unique attributes (compiler‑scoped selectors and a ::deep escape for one‑level overrides) and weigh its tradeoffs; combine CSS variables for runtime theming with component parameters and data binding to supply global, per-component and per-instance overrides; use a small utility (CssBuilder/class builder) to compose class and style strings; demos and the Blazor slide app plus code live on GitHub and compile successfully.
AI-written summary · about
chapters (8)
- 0:00Welcome to CSS techniques
- 2:08SASS and its benefits
- 8:52SASS in Blazor setup
- 15:42CSS isolation explained
- 23:10Managing CSS scope
- 31:26Bootstrap vs Tailwind CSS
- 41:06Q&A
- 57:30Final thoughts








