{
"$schema": "../schemas/code-crispies-module-schema.json",
"id": "flexbox",
"title": "CSS Flexbox",
"description": "Master the flexible box layout model for modern responsive designs",
"difficulty": "intermediate",
"lessons": [
{
"id": "flexbox-1",
"title": "Flexbox Container Basics",
"description": "Learn how to create a flex container and understand the main and cross axes.",
"task": "Add display: flex to .flex-container to create a flexbox layout.",
"previewHTML": "
flex-direction: column and flex-wrap: wrap to .flex-container.",
"previewHTML": "justify-content: space-between to .flex-container to distribute the boxes evenly.",
"previewHTML": "align-items: center to .flex-container to vertically center the boxes.",
"previewHTML": "flex property controls how much an item grows relative to others.",
"task": "Add flex: 2 to .box2 to make it grow twice as wide.",
"previewHTML": "align-self to override alignment for a single flex item.",
"task": "Add align-self: flex-start to .middle to move it to the top.",
"previewHTML": "