Open this example in the interactive library
Source code
<style>
.demo {
padding: 1rem;
background: #fef3c7;
clip-path: polygon(0 0, 85% 0, 100% 25%, 100% 100%, 0 100%);
}
</style>
<div class="demo">Admit one</div>
Folded ticket corner with native CSS. The preview includes a small shared demo stylesheet.
Open this example in the interactive library
<style>
.demo {
padding: 1rem;
background: #fef3c7;
clip-path: polygon(0 0, 85% 0, 100% 25%, 100% 100%, 0 100%);
}
</style>
<div class="demo">Admit one</div>