kest874
1
Using Radzen 2.62.5
I've tried to add a css style to styles.css in \server\wwwroot\assets\css
.test {
color: black;
}
/* Import the Radzen CSS files */
@import './styles-generated.css';
however doing so breaks all styling:

What did I miss?
enchev
2
Add your custom rules after the @import
:
kest874
3
Perfect, might move the:
/*
You can add custom CSS rules or import files here.
*/
below the
/* Import the Radzen CSS files */
@import './styles-generated.css';
to reduce confusion.
After the change it's working, thank you for your help.
enchev
4
Well, this comment block is just to inform the developers that they can add custom rules in this file. By definition @import
should be first:
https://www.w3schools.com/cssref/pr_import_rule.asp
kest874
5
Got it makes perfect sense now.