Skip to content
Home
Dev Convert Generate Finance Calc Design Security Media

More categories

Productivity 23 SEO Tools 18 Network Tools 17 Text Tools 16 Education Tools 15 PDF Tools 11 Mockups 9

Learn and build

GuidesBlogAPI & MCPCheatsheetsChangelog All categories

Browse

439 tools · 15 categories

Start here

Popular tools New this week 11 All tools 439

Categories

Developer Tools 91 Converters 65 Calculators 32 Finance Tools 32 Generators 31 Media Tools 27 Design Tools 25 Security Tools 25 Productivity 23 SEO Tools 18 Network Tools 17 Text Tools 16 Education Tools 15 PDF Tools 11 Mockups 9

Learn and build

Guides Cheatsheets Blog REST API MCP server Changelog

No matches here.

Keep FindUtils free Sponsors fund new tools
  1. Cheatsheets
Guides Blog API & MCP
Sponsor
FindUtils
Sponsor
  1. Home
  2. Cheatsheets
  3. Web Development
  4. CSS Flexbox

Web Development · Cheatsheet

CSS Flexbox Cheatsheet

Flex container and item properties, alignment, ordering, and common layout patterns

36 commands 6 sections

On this sheet

Container Properties 9 Alignment (Main Axis) 6 Alignment (Cross Axis) 8 Gap 4 Item Properties 8 Sources 1
Try it in the browser Create custom CSS animations with a visual keyframe timeline editor. Design, preview, and export as CSS, Tailwind, React, or Framer Motion code. Open CSS Animation Generator

No entry matches that filter.

Container Properties

  • display: flex Enable flex layout on container
  • display: inline-flex Inline-level flex container
  • flex-direction: row Main axis: left to right (default)
  • flex-direction: row-reverse Main axis: right to left
  • flex-direction: column Main axis: top to bottom
  • flex-direction: column-reverse Main axis: bottom to top
  • flex-wrap: nowrap Single line (default)
  • flex-wrap: wrap Wrap to multiple lines
  • flex-wrap: wrap-reverse Wrap in reverse direction

Alignment (Main Axis)

  • justify-content: flex-start Pack items to start (default)
  • justify-content: flex-end Pack items to end
  • justify-content: center Center items along main axis
  • justify-content: space-between Equal space between items
  • justify-content: space-around Equal space around items
  • justify-content: space-evenly Equal space between and around

Alignment (Cross Axis)

  • align-items: stretch Stretch items to fill (default)
  • align-items: flex-start Align items to cross-start
  • align-items: flex-end Align items to cross-end
  • align-items: center Center items on cross axis
  • align-items: baseline Align items by text baseline
  • align-content: flex-start Pack lines to start (multi-line)
  • align-content: center Center lines (multi-line)
  • align-content: space-between Space between lines (multi-line)

Gap

  • gap: 16px Equal row and column gap
  • gap: 16px 24px Row gap and column gap
  • row-gap: 16px Gap between rows only
  • column-gap: 24px Gap between columns only

Item Properties

  • flex: 1 Shorthand: grow=1, shrink=1, basis=0%
  • flex: 0 0 200px Fixed 200px, no grow/shrink
  • flex-grow: 1 Allow item to grow (proportion)
  • flex-shrink: 0 Prevent item from shrinking
  • flex-basis: 200px Initial size before grow/shrink
  • flex-basis: auto Use content size as basis
  • align-self: center Override align-items for this item
  • order: -1 Change visual order (lower = first)

Sources

  • https://www.w3.org/TR/css-flexbox-1/ W3C Flexbox specification: axes, flexible sizing, alignment, and ordering.

Related cheatsheets

  • React Hooks53 commands
  • CSS Grid36 commands
  • HTTP Status Codes41 commands

Guides that use these commands

  • How to Extract a Color Palette From an ImageGuide · 6 min read
  • How to Build a Custom CSS Easing CurveGuide · 6 min read
  • How to Use CSS Border Radius ProperlyGuide · 6 min read

Tools for this work

  • CSS Animation GeneratorCreate custom CSS animations with a visual keyframe timeline editor. Design, preview, and export as CSS, Tailwind, React, or Framer Motion code.
  • CSS MinifierMinify or beautify CSS code for production.

From FindUtils

More to explore

Products and services from the team behind FindUtils.

Promote your tool
Featured product seeranks.com SeeRanks — transparent product discovery A public ranking board where paid placement is always labeled and every product keeps its earned position. View SeeRanks Public rank board #1 Sponsored #2 #3 #4 Paid placement is always labeled Free favicon tool emojifavicons.com Emoji Favicons Turn any emoji into a favicon with one HTML line. SVG, PNG or ICO, no sign-up. <link rel="icon" href=".../🦊.svg"> Create a favicon
FindUtils service findutils.com Articles for software tools A sourced article for your channels, or a sponsored FindUtils publication with editorial review. Compare packages Domain portfolio findutils.com Domain names for sale .com.dev.sh.app.io Unused names across dev tools, AI, PDF and commerce. Make an offer. Browse the list Playable ranking towerscore.io TowerScore — stack the skyline Play to climb, or buy a floor. Paid floors are labeled. Open TowerScore

Missing a tool you need?

Tell us what to build next. Most requests ship as a free browser tool, an API endpoint and an MCP tool.

Request a tool
FindUtils

Free, fast utilities. Most tools process your files in the browser; lookup tools say what they send, and pages load analytics and ads.

  • No sign-up for free tools
  • Most tools run in your browser
  • 369 tools on the REST API, 369 on MCP

Tools

DevelopersConvertPDFDesignSecurityAll tools →

Learn

GuidesBlogCheatsheetsChangelog

Build

REST APIMCP serverAPI referenceWorkflowsStatus

FindUtils

AboutLibraries we useSponsorRequest a toolDomains for saleContact
© 2026 FindUtils PrivacyTermsSitemap
Service status
FindUtils

Free, fast utilities that respect your data. Most tools run in your browser.

Build with it

REST APIMCP serverGuidesChangelog

FindUtils

AboutSponsorPrivacyContact
Theme
© 2026 FindUtils Terms
FindUtils
Guides Blog REST API MCP server Changelog

Categories

Developers 91 Convert 65 Calculate 32 Finance 32 Generate 31 Media 27
All 15 categories →

Keep it free

Sponsorship keeps every tool free and funds the new ones we ship each week.

Sponsor Back the project
Tools API Sponsor