Outline

Outlines have been expanded in CSS3 to include the outline-offset property. This allows the offset to be rendered away from the edge of the specified element. In the example below, the offset is specified as outline-offset: 12px; and the outline as outline: 2px solid blue;

This div has both a black border, and a blue outline, with an offset of 12 pixels.

This currently works in Opera, Safari and Firefox.

This div has both a black border, and a blue outline, with an offset of 12 pixels.
This currently works in Opera, Safari and Firefox.


OUR SPONSORS

Advertise here?
TAG CLOUD