Intermediate HTML & CSS Path


🎨 Advanced Styling

CSS Grid Mastery

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}
  • Grid template areas
  • Auto-fit vs auto-fill
  • Responsive grid layouts
  • Grid alignment properties

Advanced Flexbox

.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

.flex-item {
    flex: 1 1 300px;
    /* grow shrink basis */
}

✨ Animations & Effects

CSS Animations

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.animated {
    animation: slideIn 0.5s ease-out;

CSS Transforms

.card {
    transition: transform 0.3s ease;    
}

.card:hover {
    transform: scale(1.05) rotate(2deg);
}

🎯 Practice Projects

1. Portfolio 2.0

Create an advanced portfolio with:

  • Grid layout
  • Smooth animations
  • Responsive images
  • Contact form validation

2. Dashboard UI

Build an admin dashboard with:

  • Sidebar navigation
  • Data tables
  • Charts and graphs
  • Dark/Light mode

3. E-commerce Components

Create modern e-commerce features:

  • Product cards
  • Shopping cart
  • Filter system
  • Image gallery

📚 Learning Resources