DEV Community

Hemanth_Polisetti
Hemanth_Polisetti

Posted on

CSS Display Properties

1) Block :- It occupies all the space of the container and a line above and below to it.It always start with new line
2)Inline :- It occupies the space it need and it doesn't need to start in new line but it can`t support to adjust the height and width of the content
3)Inline-Block :- It is similar to Inline property , unlike inline property it supports to adjust the height and width of the content
4)None :- It display nothing,simply it removes the content from displaying.

                         --Thank You--
Enter fullscreen mode Exit fullscreen mode

Top comments (0)