
Button by ROroroland
1.3K
0
#e8e8e8
Use with your AI agent
Copy the prompt and paste it into your coding agent.
HTML
<div class="flip-button"> <button class="button button-front"> <span class="text-front">Label one</span> <span class="text-back">Back can be longer</span> </button> </div>
CSS
.flip-button { --col1: #4CAF50; --col2: #4f16ac; --col3: #d8d1e4; position: relative; min-width: 10rem; min-height: 3rem; perspective: 500px; } .flip-button .button { appearance: none;