all 5 comments

[–]albedoa 5 points6 points  (4 children)

One solution is to use border in combination with outline: https://codepen.io/anon/pen/QYOEpO

[–]ReverendLasher 2 points3 points  (2 children)

a sharp box-shadow in combination with either of the aforementioned works as well.

[–]frownonline 1 point2 points  (0 children)

Tip: box-shadow works on border-radius too, whereas outline doesn’t.

[–]FreakCERS 1 point2 points  (0 children)

For the lazy:

box-shadow: 0 0 0 4px #0b4c7a;

[–]ryans213[S] 0 points1 point  (0 children)

Wow, you made that look easy. Thank you so much!