GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing flexbox.malven.co — FLEX: A simple visual cheatsheet for flexbox container
displayEnables flex for all children. display: flexdisplay: inline-flexflex-directionEstablishes the main axis. flex-direction: rowflex-direction: row-reverseflex-direction: columnflex-direction: column-reverseflex-wrapWraps items if they can't all be made to fit on one line. flex-wrap: nowrapflex-wrap: wrapflex-wrap: wrap-reversejustify-contentAttempts to distribute extra space on the main axis. justify-content: flex-startjustify-content: flex-endjustify-content: centerjustify-content: space-betweenjustify-content: space-aroundjustify-content: space-evenlyalign-itemsDetermines how items are laid out on the cross axis. align-items: flex-startalign-items: flex-endalign-items: centeralign-items: baselinealign-items: stretchalign-contentOnly has an effect with more than one line of content. Examples shown here use flex-wrap. align-content: flex-startalign-content: flex-endalign-content: centeralign-content: space-betweenalign-content: space-aroundalign-content: stretchchildren
orderAllows you to explictly set the order you want each child to appear in. order: integerflex-growAllows you to determine how each child is allowed to grow as a part of a whole. flex-grow: 1 (applied to all)flex-grow (1, 2, and 3)flex-basisDefines the size of an element before remaining space is distributed. first item 20%, second item 40%flex-shrinkAllows an item to shrink if necessary. Only really useful with a set size or flex-basis. both want to be 100% wide, 2nd item has flex-shrink: 2align-selfSets alignment for individual item. See "align-items" for options 3rd item has align-self:flex-end |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |