Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css display

/* legacy values */
display: block;
display: inline;
display: inline-block;
display: flex;
display: inline-flex;
display: grid;
display: inline-grid;
display: flow-root;

/* box generation */
display: none;
display: contents;

/* two-value syntax */
display: block flow;
display: inline flow;
display: inline flow-root;
display: block flex;
display: inline flex;
display: block grid;
display: inline grid;
display: block flow-root;

/* other values */
display: table;
display: table-row; /* all table elements have an equivalent CSS display value */
display: list-item;

/* Global values */
display: inherit;
display: initial;
display: revert;
display: unset;
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #css #display
ADD COMMENT
Topic
Name
3+2 =