What is the CSS display property and can you give a few examples of its use?

display Description
none Does not display an element (the element no longer affects the layout of the document). All child element are also no longer displayed. The document is rendered as if the element did not exist in the document tree
block The element consumes the whole line in the block direction (which is usually horizontal)
What is the CSS display property and can you give a few examples of its use? display Description none Does not display an element (the element no longer affects the layout of the document). All child element are also no longer displayed. The document is rendered as if the element did not exist in the document tree block The element consumes the whole line in the block direction (which is usually horizontal)

What is the CSS display property and can you give a few examples of its use?

By Code 100mph

What is the CSS display property and can you give a few examples of its use?

  • 198