Pablo Vera Pablo Vera - 1 year ago 77
CSS Question

Outline inside of a button

I have been trying to replicate this "subscribe to the newsletter button". I am having a hard time replicating the white "inside border or outline".
example of the button

Answer Source

You may use an inset shadow

button {
  border:solid turquoise;
  box-shadow:inset 0 0 0 3px white;
<button>inside border ?</button>

You can also mix borders with inset and outset shadows ;)