CSS

CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise

CSS3

CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS outline offset Property

CSS outline-offset Property

 

 

The outline-offset property is used to add space between the outline and the edge or border of an element. Usually, it is transparent. It can differ from borders in three ways:-

  1. An outline is a line drawn around elements that are outside the border edge
  2. An outline does not take up space

 

Default Value:-

 

Its default value is 0.

 

Syntax:-

 

Its syntax is:- outline-offset: length | initial | inherit;

 

Further Explanation:-

 

Value Description
length The distance the outline is outset from the border edge.
initial Sets this property to its default value.
inherit Inherits this property from its parent element.

Code Explanation

All Tutorials related to CSS Properties

All Sections related to CSS