top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is the difference between display:flex vs display:inline-flex in CSS?

0 votes
423 views
What is the difference between display:flex vs display:inline-flex in CSS?
posted Jan 16, 2018 by Chahat Sharma

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Container with display:flex behaves like a block-level element itself, while display:inline-flex makes the container behaves like an inline element.

enter image description here

answer Jan 24, 2018 by Manish Tiwari
Similar Questions
0 votes

I am new to css. I wonder what is the differences between these two (display:inline vs display:inline-block). please provide any example.

...