The CSS flex-basis property can be set in pixels (px), which can be used to specify the initial size of a flex item in pixels.
For example, the following sets the flex-basis to 200px, setting the flex items (with the "flex-item" class) to have an initial size of 200 pixels:
.flex-item {
flex-basis: 200px;
}
Besides pixels, the flex-basis property can accept various other units of measurement like percentages (%), ems (em), rems (rem), viewport units (vw, vh, vmin, vmax), and more. You can choose the best one for your specific use case based on your requirements.