Open this example in the interactive library
Source code
<style>
@media (min-width: 40rem) {
.demo {
display: none;
}
}
</style>
<span class="demo">Compact layout label</span>
Show a compact label below a breakpoint with native CSS. The preview includes a small shared demo stylesheet.
Open this example in the interactive library
<style>
@media (min-width: 40rem) {
.demo {
display: none;
}
}
</style>
<span class="demo">Compact layout label</span>