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 flex wrap Property

CSS flex-wrap Property

 

 

The flex-wrap property is used to specify whether the flexible items should wrap or not. It is only usable if items are flexible.

 

Default Value:-

 

Its default value is nowrap.

 

Syntax:-

 

Its syntax is:- flex-wrap: nowrap | wrap | wrap-reverse | initial | inherit;

 

Further Explanation:-

 

Value Description
nowrap Specifies that the flexible items will not wrap
wrap Specifies that the flexible items will wrap if necessary
wrap-reverse Specifies that the flexible items will wrap, if necessary, in reverse order
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