Open this example in the interactive library
Source code
<style>
.demo {
border: 2px dashed #64748b;
}
</style>
<div class="demo">Use a dashed border</div>
Use a dashed border with native CSS. The preview includes a small shared demo stylesheet.
Open this example in the interactive library
<style>
.demo {
border: 2px dashed #64748b;
}
</style>
<div class="demo">Use a dashed border</div>