I created this unique button design using Figma and now I want to implement it in CSS.
https://i.sstatic.net/b6hNx.png
Upon closer inspection, you'll notice that I included a highlight with a white shadow on the border.
However, when I try to replicate it using the following CSS code, the shadow only appears inside the button and not along the border like in the image provided.
https://i.sstatic.net/K5KGW.png
div {
border-style: solid;
border-width: 0.7em;
border-color: var(--highlight);
box-shadow: inset 0.2em 0.2em 0.4em rgba(255, 255, 255, 0.25), inset -2px -2px 4px rgba(0, 0, 0, 0.25);
filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.25));
}
<div> Sign Up </div>
Can anyone provide guidance on how I can successfully apply the highlight/shadow effect on the border?