![]() ![]() The first paragraph has a width of min-content. In the live example below for instance I have two paragraph elements that contain a string of text. There is a concept in CSS of min-content and max-content - these keywords are defined in the CSS Intrinsic and Extrinsic Sizing Specification, and can be used in place of a length unit. How is this worked out for items that don’t have a width or a height applied using an absolute length unit? ![]() ![]() In order to work out how much space there is available to lay out flex items, the browser needs to know how big the item is to start with. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |