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 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS outline width Property

CSS outline-width Property



The outline-width is used to specify the width of an outline. It is a line that is drawn around elements that are outside the borders and that makes the element stand out.


Default Value:-


Its default value is medium




Its syntax is:- outline-width: medium | thin | thick | length | initial | inherit;


Further Explanation:-


Value Description
medium Specifies a medium outline.
thin Specifies a thin outline
thick Specifies a thick outline
length Allows you to define the thickness of the outline.
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