Morph Shape
The button border-radius morphs from rectangle to pill and color transitions simultaneously.
Morph Shape the 16th of 21 designs in the 21 CSS Button 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
<button class="bhe-16__btn">Hover Me</button>
.bhe-16__btn {
padding: 12px 32px;
font-size: 13.5px;
font-family: inherit;
font-weight: 500;
cursor: pointer;
letter-spacing: 0.02em;
background: transparent;
color: inherit;
}
.bhe-16__btn {
background: #ff6c8a;
color: #fff;
border: none;
transition:
border-radius 0.4s cubic-bezier(0.23, 1, 0.32, 1),
background 0.3s,
transform 0.2s;
}
.bhe-16__btn:hover {
border-radius: 50px;
background: #7c6cff;
transform: scaleX(0.92);
}