Is it possible to set a Blazor variable in scss. I'm trying to show/hide a component on hover. Something like:
Scss File
Frame {
&:active {
ShowCopyIcon {
display: none;
}
&:hover {
ShowCopyIcon {
display: inline;
}
}
Blazor File
@code
{
string ShowCopyIcon;
}
<div>
<CopyToClipboard Class=@ShowCopyIcon />
</div>