Repository navigation
[dev-v5] Add minimum styles for HTML tags (Reboot.css) - #3235
Merged
Denis Voituron (dvoituron) merged 19 commits intoJan 28, 2025
Merged
Conversation
|
✅ All tests passed successfully Details on your Workflow / Core Tests page. |
Summary - Unit Tests Code CoverageSummary
CoverageMicrosoft.FluentUI.AspNetCore.Components - 99%
|
Denis Voituron (dvoituron)
marked this pull request as ready for review
January 24, 2025 13:26
Denis Voituron (dvoituron)
requested a review
from Vincent Baaij (vnbaaij)
as a code owner
January 24, 2025 13:26
Vincent Baaij (vnbaaij)
requested changes
Jan 28, 2025
Denis Voituron (dvoituron)
enabled auto-merge (squash)
January 28, 2025 20:43
Vincent Baaij (vnbaaij)
self-requested a review
January 28, 2025 21:17
Vincent Baaij (vnbaaij)
approved these changes
Jan 28, 2025
Denis Voituron (dvoituron)
deleted the
users/dvoituron/dev-v5/fluentbody
branch
January 28, 2025 21:18
This was referenced Oct 14, 2026
Closed
Closed
This was referenced Oct 28, 2026
Closed
This was referenced Nov 9, 2026
This was referenced Nov 23, 2026
Closed
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[dev-v5] Add minimum styles for HTML tags (Reboot.css)
Default Styles
The FluentUI Blazor library comes with a set of default styles that are applied to all components.
These styles are based on the Fluent Design System and are designed to make your site look good out of the box.
Component styles are integrated into these components and are based on CSS variables (see below).
In addition to the styles built into components, common HTML tags are also styled using
the default-fuib.css file
file, which is included in the package and automatically applied to your site.
These styles are inspired by the Normalize.css library.
This lib makes browsers render all elements more consistently and in line with modern standards.
It precisely targets only the styles that need normalizing.
Deactivating default sytles
In some cases, you may not want to use the default styles included in
default-fuib.css.You can deactivate them by setting the
no-fuib-styleattribute on thebodytag.Reboot CSS
Reboot is a collection of element-specific CSS changes in a single file to help kickstart building
a site with the FluentUI Blazor library. It provides an elegant, consistent, and simple baseline
to build upon (inspired by Bootstrap's Reboot which again is based on Normalize.css)
If you want to use Reboot you have two options:
App.razororindex.htmlfile like this:use-rebootto yourbodytag like this:Demo