Categories:
Cloud (204)
Entertainment (11)
Facebook (43)
General (50)
Life (31)
Programming (64)
Technology (430)
Testing (4)
Tools (488)
Twitter (5)
Wearable (26)
Web Design (44)
Collections:
Other Resources:
"display: inline-block" CSS Property
What is "display: inline-block"? How to use it on block elements?
✍: FYIcenter.com
An "inline-block" element will be displayed inline with other sibling elements. But itself will be maintained as a block respecting the block box model.
The "display: inline-block" property is very useful for displaying a set of block elements horizontally and allowing the browser to wrap them based on the width of the parent element. This makes your Web page responsive to the device size.
Here is an example to compare "display: inline-block" with "display: inline" and "display: block".
1. Using "display: inline-block" for 5 div blocks:
2. Using "display: inline" for 5 div blocks:
2. Using "display: block" for 5 div blocks:
2015-05-17, 2071🔥, 0💬
Popular Posts:
How to Uninstall Skype Meetings App on Windows? I don't need it anymore. You can following this tuto...
What is outlook.office365.com? Our IT tells us to migrate to outlook.office365.com. outlook.office36...
I have an Apple iPad Air Model MD788C/A. Is it good? Yes. Apple iPad Air Model MD788C/A is a very go...
What is "Microsoft SharePoint Server Colleague Import Add-in" COM Add-in in Outlook 2013? Should I d...
How to install Fitbit Bluetooth Dongle on my Windows computer? Fitbit device comes with a Bluetooth ...