The CSS outline is a line drawn around elements outside the border, making it a useful tool for emphasizing content. Unlike borders, outlines do not take up space in the box model.
button {
outline: 2px solid blue;
outline-offset: 5px;
}
Most modern browsers support outline properties.