Corner-fold card
CSS paper card with a folded corner and a stacked-sheet edge. The corner is a clip-path triangle that grows on hover as the card lifts.
The fold is a ::before element in the top-right corner: a 14px black square cut to a triangle with clip-path: polygon(0 0, 100% 0, 100% 100%). On hover its width and height grow to 26px. The stacked-sheet edge is a box-shadow list of seven 1px offsets that alternate between two grays, and the paper texture is a repeating-linear-gradient of faint lines. Hover also lifts the card 3px, and prefers-reduced-motion removes the transitions.
snippet.html24 lines
<div class="cfc">
<article class="cfc__card">
<h3>We only license to vetted research labs.</h3>
<p>Every buyer is checked and named in your contract.</p>
</article>
</div>
<style>
.cfc { width: min(100%, 20rem); font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
.cfc * { box-sizing: border-box; }
.cfc__card {
position: relative; min-height: 12rem; padding: 1.5rem 1.5rem 2.5rem;
background: #e9e9ec; color: #111;
background-image: repeating-linear-gradient(0deg, rgba(0,0,0,0.025) 0 1px, transparent 1px 3px);
box-shadow: 0 1px 0 #c4c4c8, 0 2px 0 #e9e9ec, 0 3px 0 #c4c4c8, 0 4px 0 #e9e9ec, 0 5px 0 #c4c4c8, 0 6px 0 #e9e9ec, 0 7px 0 #c4c4c8;
transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cfc__card::before { content: ""; position: absolute; top: 0; right: 0; width: 14px; height: 14px; background: #000; clip-path: polygon(0 0, 100% 0, 100% 100%); transition: width 0.25s ease, height 0.25s ease; }
.cfc__card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 #c4c4c8, 0 2px 0 #e9e9ec, 0 3px 0 #c4c4c8, 0 4px 0 #e9e9ec, 0 5px 0 #c4c4c8, 0 6px 0 #e9e9ec, 0 7px 0 #c4c4c8, 0 14px 22px rgba(0,0,0,0.12); }
.cfc__card:hover::before { width: 26px; height: 26px; }
.cfc__card h3 { margin: 0 1rem 0.75rem 0; font: 400 1.25rem/1.15 Georgia, "Times New Roman", serif; letter-spacing: -0.015em; }
.cfc__card p { margin: 0; font-size: 0.875rem; line-height: 1.5; color: #666; }
@media (prefers-reduced-motion: reduce) { .cfc__card, .cfc__card::before { transition: none; } }
</style>