Created
April 17, 2024 17:35
-
-
Save bjoerntx/23e06de3fa3ad85d7dad20f1d3217000 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row"> | |
<div class="col-md-4 text-danger bg-black p-3"> | |
<p>The document is rendered as HTML next to this box.</p> | |
</div> | |
<div class="col-md-8"> | |
<template shadowrootmode="open"> | |
@Html.Raw(ViewBag.Document) | |
<style> | |
:host > p { | |
/*font-family: Arial, sans-serif !important;*/ | |
} | |
.Style1 { | |
color: red; | |
} | |
</style> | |
</template> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment