
#e8e8e8
Use with your AI agent
Copy the prompt and paste it into your coding agent.
HTML
<div class="buttons"> <div class="btn-wrap"> <button class="btn neumorphic active"> <span>Learn More</span> </button> <span style="top: 5px; left: -5px;" class="corner"></span> <span style="top: 5px; right: -10px; transform: rotate(90deg);" class="corner" ></span> <span style="bottom: -10px; right: -10px; transform: rotate(180deg);"
CSS
.btn.neumorphic { position: relative; display: grid; container-type: inline-size; aspect-ratio: 1/1; border: 0.5rem solid transparent; border-radius: 4rem; color: hsl(0 0% 10%); background-image: linear-gradient(to bottom, #c2e450, #f4f143); background-origin: border-box; background-clip: border-box; -webkit-background-clip: border-box;
MIT License