# display

## introduce

Specifies the type of box the element should generate.

## grammar

````css
display: flex;

display: none;
````

### value

- `flex`

**Defaults. ** Specifies that the container uses a `flex` layout. Children of a `flex` container are automatically members of the container, following the `flex` layout.

- `none`

This element will not be displayed.

### Standardized syntax

````css
display: flex | none
````

## Precautions
- Native layout on the mobile side, flex is used by default for elements, and block or inline is used on the PC side. To ensure consistency, businesses can display declarations for layout based on flex