Corner Peel
The bottom-right corner peels away to reveal a gradient triangle, growing from 0 to 72px on hover.
Corner Peel the 6th of 27 designs in the 27 CSS Card Hover Effects collection. The design is implemented in pure CSS — no JavaScript required. Copy the HTML and CSS panels below into your project. Because the demo is pure CSS, it works in any framework or templating engine you happen to use. The design honours prefers-reduced-motion and uses real semantic markup, so it ships accessibility-ready out of the box.
Live preview
The code
<div class="card-06"> <div class="card-06__peel"></div> <span class="card-06__tag">Effect</span> <h4 class="card-06__title">Corner Peel</h4> <p class="card-06__body">Bottom-right corner folds up on hover.</p> </div>
.card-06__tag {
font-family: monospace;
font-size: 10px;
padding: 2px 8px;
border-radius: 20px;
background: rgba(124, 108, 255, 0.15);
color: #7c6cff;
border: 1px solid rgba(124, 108, 255, 0.3);
display: inline-block;
margin-bottom: 10px;
}
.card-06__title {
font-size: 17px;
font-weight: 700;
color: #f0eeff;
margin-bottom: 6px;
}
.card-06__body {
font-size: 13px;
color: #b8b6d4;
line-height: 1.6;
}
.card-06 {
width: 100%;
max-width: 280px;
position: relative;
overflow: hidden;
padding: 22px;
border-radius: 14px;
background: #17171f;
border: 1px solid rgba(255, 255, 255, 0.08);
cursor: pointer;
transition: box-shadow 0.3s;
}
.card-06:hover {
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.card-06__peel {
position: absolute;
bottom: 0;
right: 0;
width: 0;
height: 0;
background: linear-gradient(225deg, #7c6cff 45%, rgba(124, 108, 255, 0.08) 45%);
transition:
width 0.38s cubic-bezier(0.23, 1, 0.32, 1),
height 0.38s cubic-bezier(0.23, 1, 0.32, 1);
}
.card-06:hover .card-06__peel {
width: 72px;
height: 72px;
}