StepsEasy
CSS Flexbox Introduction - Example
Run
Reset
Destroy & Close
← Back to lesson
Code Editor
css
.container { display: flex; justify-content: space-between; align-items: center; gap: 16px; } .item { flex: 1; padding: 20px; background: #f0f0f0; border-radius: 8px; }
Result
Click "Run" to execute the code...
Loading runtime...
Ready
CSS | In-Browser Execution