Skip to main content


Introduction: This is the seventh part in my CSS Styling tutorials, in which I will be covering display. What is Display? Display is a property which sets the type of behaviour that will be given in relation to the position of the given elements. Structure: display: {type}; Example:
  2. display: inline-block;
Defaults: As a couple of default examples; an image given through an img tag in HTMl is a block element, a paragraph (p) is a block element and a span is an inline-block element. Values: The bigger the border radius, the more curved the border will be. inline -

Add new comment