Border Radius Generator
Shapes corners with CSS border-radius, including elliptical blob shapes.
Lay out items with CSS flexbox by picking options instead of remembering them. Set the container's direction, wrapping, alignment, and gap, tune each item, and copy the CSS and HTML.
justify-content places items along the main axis (the direction), and align-items across it.align-content only matters when items wrap onto several lines.flex-basis, then grows by its share of flex-grow when there is spare room, or shrinks by flex-shrink when there isn't.flex shorthand for items.Sidebar and content (Sidebar + content preset):
.container {
display: flex;
gap: 16px;
}
.item-1 {
flex: 0 0 200px;
}
.item-2 {
flex: 1 1 0;
}Centering anything: display: flex; justify-content: center; align-items: center;
order changes the visual order only; keyboard and screen reader order still follow the HTML. Avoid reordering meaningful content.On the parent, set display: flex, justify-content: center, and align-items: center. Use the Centered preset.
It is short for flex: 1 1 0: the item grows and shrinks and starts from zero width, so items with flex: 1 share space equally.
align-items aligns items within each line. align-content spaces the lines themselves and only works when items wrap.
No. The CSS is built in your browser.
Often used together with the Flexbox Generator.
Shapes corners with CSS border-radius, including elliptical blob shapes.
Turns a grid or pasted spreadsheet data into accessible HTML table code.
Beautifies CSS with one declaration per line and consistent indentation.