Open this example in the interactive library
Source code
<style>
.demo {
width: fit-content;
transform: skewX(-10deg);
}
</style>
<div class="demo">Skew a label</div>
Skew a label with native CSS. The preview includes a small shared demo stylesheet.
Open this example in the interactive library
<style>
.demo {
width: fit-content;
transform: skewX(-10deg);
}
</style>
<div class="demo">Skew a label</div>