To hide an HTML element while its content is streaming: @scope { opacity: 0} <!-...

@nomster@indieweb.social

To hide an HTML element while its content is streaming:

<div>
<style>@scope { opacity: 0}</style>
<!-- the streaming content -->
<style>@scope { opacity: 1}</style>
</div>