Open this example in the interactive library
Source code
<style>
@media print {
.demo {
border: 1px solid black;
background-color: white;
color: black;
}
}
</style>
<div class="demo">Style a printable note</div>
Style a printable note with native CSS. The preview includes a small shared demo stylesheet.
Open this example in the interactive library
<style>
@media print {
.demo {
border: 1px solid black;
background-color: white;
color: black;
}
}
</style>
<div class="demo">Style a printable note</div>