CSS Handling | FREE Blazor Crash Course (.NET 5) #5

preview_player
Показать описание
This video is part of The FREE Blazor Crash Course. In this crash course, we build an actual Blazor WebAssembly application based on .NET 5.

In this video, we will learn about CSS handling for Blazor applications. We will discuss the difference between local and global CSS definitions and how CSS isolation makes the developer's life easier.

This time, we won't implement new components for our FinanceMentor application but will make the existing components look better.

If you followed along as we build the FinanceMentor application, you saw that we already used a lot of CSS in our project. We used Bootstrap to style our Earnings page and implement our modal dialog component in previous videos.

The main benefit of using CSS isolation is that we can use short and descriptive names for our CSS classes and don't have to be afraid of any name clashes across our application or any external CSS definitions like Boostrap.

00:00 About This Course
00:46 How Does CSS Work in Blazor?
01:26 Using Bootstrap CSS Definitions
02:50 How Blazor Loads CSS Files
04:04 CSS Isolation in Blazor
07:15 CSS Preprocessor Support
07:51 Local vs. Global CSS Definitions
08:36 Housekeeping
09:39 Summary
10:00 What's Next?

🔥 C#/.NET Bootcamp: The Fundamentals & more (Code FRIENDS10 for 10% OFF)*

📌 .NET Developer Roadmap

🔥 The FREE Blazor Crash Course:

📋 Source Code:

📌 Blazor Playlist:

✅ SUBSCRIBE FOR MORE VIDEOS

🚀 CONNECT & SUPPORT

CREDITS

* Affiliate Link: I earn a small commission at no additional cost
Рекомендации по теме
Комментарии
Автор

Do you like CSS isolation or do you prefer global CSS styles when building web applications? 😎

ClaudioBernasconi
Автор

This is an excellent course! I'm finding it very helpful. You explain everything clearly and go at a pace that is suitable for a beginner. Thank you very much.

stephenshillitoe
Автор

Please make cookies authentication using blazor server side with validating user/pass from database. Thank you.

charlesrara
Автор

Blazor + razor are so complicated its almost unusable.

DougSchofield