Tag Archives: outline

CSS3 User Interface Box Outline Offset

Use CSS3 outline-offset property to offset the outline rendition

Creative CSS

Setting an element outline is already available in CSS2, but in CSS3 outline has been expanded to include the outline-offset property. This allows to offset the outline by a specified number of pixels. By default, the outline is drawn starting just outside the edge or border of an element.