Open this example in the interactive library
Source code
<style>
.demo {
width: fit-content;
rotate: -6deg;
}
</style>
<div class="demo">Rotate a swatch</div>
Rotate a swatch with native CSS. The preview includes a small shared demo stylesheet.
Open this example in the interactive library
<style>
.demo {
width: fit-content;
rotate: -6deg;
}
</style>
<div class="demo">Rotate a swatch</div>