.button-container{display:flex;gap:16px;}.btn{padding-block:17px;font-size:16px;font-weight:500;border-radius:8px;border:none;cursor:pointer;transition:all0.3sease-in-out;}.btn-cancel{background-color:#E4EDF4;color:#464646;border:1pxsolidtransparent;width:133px;}.btn-cancel:hover{background-color:#F5F6F8;border:1pxsolid#3E77AA;color:#3E77AA}.btn-next{background-color:#1C9F56;color:#ffffff;display:flex;align-items:center;justify-content:center;gap:8px;width:133px;transition:all0.3sease-in-out;position:relative;/* Ensure the left side remains fixed */.arrow-icon{margin-left:8px;transition:transform0.3sease-in-out;}}.btn-next::before{content:'';/* Add a pseudo-element to allow width expansion */position:absolute;top:0;bottom:0;left:0;width:133px;/* Matches the initial button width */background-color:inherit;transition:width0.3sease-in-out;border-radius:inherit;z-index:-1;/* Keeps it behind the button content */}.btn-next:hover::before{width:140px;/* Increase the width only on hover */}.btn-next:hover{background-color:#00883C;.arrow-icon{transform:translateX(5px);}}
Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!
Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.
Top comments (0)