Display | Sololearn: Learn to code for FREE!

+1

Display

Can we use {display:inline-block;} instead of {display:block;} because {display:block;} will make some problems on phone screens (when showing div which is bigger than the phone screen)??

1/13/2019 1:24:21 AM

Ghasaq Mohammed

2 Answers

New Answer

+2

https://stackoverflow.com/questions/9189810/css-display-inline-vs-inline-block

+1

Run the code to see the difference https://code.sololearn.com/WUWrSMiCq8v6/?ref=app