Peeling Corner Tile
A card with a dog-eared corner that peels further back on hover, the folded flap turning over to show the pale reverse of the sheet while the teal saved-to-library mark filed beneath it is uncovered.
- lines of CSS
- 60lines of CSS
- dependencies
- 0dependencies
- browser, for years
- Everybrowser, for years
- motion only on interaction
- Hovermotion only on interaction
Vue, Svelte, styled-components and Tailwind exports are part of Pro. HTML, CSS and React are free forever.
.fx-v14-in-peel-15676 {
position: relative;
width: 210px;
height: 132px;
border-radius: 0.7rem;
overflow: hidden;
background: #0b1220;
box-shadow: 0 0 0 1px rgba(148,163,184,0.2);
}
.fx-v14-in-peel-15676 .u {
position: absolute;
inset: 0;
display: grid;
align-content: end;
justify-items: end;
gap: 0.15rem;
padding: 0.75rem 0.85rem;
text-align: right;
background: linear-gradient(135deg, #134e4a 0%, #0e7490 100%);
}
.fx-v14-in-peel-15676 .u b { font-size: 0.9rem; line-height: 1; color: #ccfbf1; }
.fx-v14-in-peel-15676 .u span { font-size: 0.66rem; letter-spacing: 0.06em; color: rgba(204,251,241,0.85); }
.fx-v14-in-peel-15676 .s {
position: absolute;
inset: 0;
padding: 0.8rem 0.9rem;
background: linear-gradient(160deg, #1b2540, #131c31);
clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
transition: clip-path 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.fx-v14-in-peel-15676 .s b { display: block; font-size: 0.82rem; color: #e2e8f0; }
.fx-v14-in-peel-15676 .s i {
display: block;
height: 7px;
margin-top: 10px;
border-radius: 3px;
background: #27334d;
}
.fx-v14-in-peel-15676 .s i:nth-of-type(1) { width: 78%; }
.fx-v14-in-peel-15676 .s i:nth-of-type(2) { width: 56%; }
.fx-v14-in-peel-15676 .s em {
position: absolute;
left: 0.9rem;
bottom: 0.75rem;
font-style: normal;
font-size: 0.62rem;
color: #64748b;
}
.fx-v14-in-peel-15676 .c {
position: absolute;
right: 0;
bottom: 0;
width: 20px;
height: 20px;
clip-path: polygon(0 0, 100% 0, 0 100%);
background: linear-gradient(135deg, #475569 0%, #94a3b8 42%, #e2e8f0 78%, #f8fafc 100%);
transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1), height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.fx-v14-in-peel-15676:hover .s { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 82px), calc(100% - 82px) 100%, 0 100%); }
.fx-v14-in-peel-15676:hover .c { width: 82px; height: 82px; }<div class="fx-v14-in-peel-15676">
<div class="u">
<b>★</b>
<span>Saved</span>
</div>
<div class="s">
<b>Aurora Panel</b>
<i></i>
<i></i>
<em>components / surface</em>
</div>
<i class="c"></i>
</div>What do I do with this?
- Put
peeling-corner-tile-15677.cssanywhere your page already loads CSS from — in Next.js that isapp/globals.css, or any stylesheet with a<link>in your HTML. - Then put the class on the element you want it on:
<button class="fx-v14-in-peel-15676">. The CSS does nothing until a class name in it matches something on the page.
- Link the stylesheet, then paste the markup wherever you need it.
npx hoverlab add peeling-corner-tile-15677What's included
- The markup and the stylesheet, in whichever framework you pick
- No runtime dependencies
Works with
- React
- Vue
- Svelte
- Tailwind
- styled-components
- Plain CSS
npx hoverlab add peeling-corner-tile-15677
Or over MCP, from your editor's agent — no account needed.
License
Free to read, copy and install, for personal and non-commercial projects. Shipping it in client work or a paid product needs Pro ($79 once). The source lands in your repo and stops being ours — no attribution, nothing to upgrade.
Motion safety
Static estimate, read from the CSS
- Reduced motion
- Brief motion, no guard
Animates briefly or on interaction. Only looping motion gets a guard in this catalog; copy the one from the Insights tab if this ships on a critical path.
- What it animates
- Reflows
Animates
height,width(andclip-path). The browser re-lays-out the page on every frame; prefertransformif you can. - Flashing (WCAG 2.3.1)
- No flashing found
No repeating change in opacity, colour or brightness large enough to count as a flash.
- Layout shift (CLS)
- May shift layout
Animates
height,widthon a box in flow, so content beside or after it can move. A category from the CSS, not a measurement for this effect.
Every row is read from the shipped CSS. Only a figure marked measured came from a browser. Customizing the speed changes the timing, so recheck a customized copy. How it is computed
38 more effects in Inputs & Hover
All of them free to read, copy and install — no account, no locked tiles, no watermarked preview. The whole catalog is open, and so are the API and the CLI.
Browse Inputs & HoverShipping one commercially
Copying the code is free. Putting it in client work or a paid product is what Pro is for — the licence, not the access.
- A commercial licence for everything in the catalog
- Unlimited bundle exports, in Vue, Svelte and Tailwind
- One payment — no subscription, nothing to renew
7 variations of Peeling Corner Tile
Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.