Open this example in the interactive library
Source code
<style>
.demo:empty::before {
content: "No results";
color: #475569;
}
</style>
<div class="demo"></div>
Show a placeholder for an empty panel with native CSS. The preview includes a small shared demo stylesheet.
Open this example in the interactive library
<style>
.demo:empty::before {
content: "No results";
color: #475569;
}
</style>
<div class="demo"></div>