Ability to define multiple styles at the same time. Not sure it can work, but maybe something like this:
<Styled @bind-Classenames="@classes">
[0] {
color: red;
}
[1] {
color: hotpink;
}
</Styled>
<div class="@classes[0]">
This is red
<div>
<div class="@classes[1]">
This is hot pink
<div>
@code {
private List<string> classes = new List<string>()
}
Ability to define multiple styles at the same time. Not sure it can work, but maybe something like this: