Uncommon CSS Properties & Techniques

Rare CSS: outline-offset

What is outline-offset and how is it a useful CSS property?

When we’re styling :focus states, we often use the outline property to override the browser's default styling.

This works well, but the outline can feel very close to the text that’s outlined. Right click or…