Initial Commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<span class="spoiler">
|
||||
<u>@ChildContent</u>
|
||||
</span>
|
||||
|
||||
<style>
|
||||
.spoiler {
|
||||
color: black;
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
u {
|
||||
text-decoration-color: inherit;
|
||||
text-decoration-thickness: 1px;
|
||||
}
|
||||
|
||||
.spoiler:hover {
|
||||
color: inherit;
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
@code {
|
||||
|
||||
[Parameter] public RenderFragment ChildContent { get; set; } = default!;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user