Responsive Web Page

This is a responsive web page demonstrating modern CSS.

Concept

This page uses CSS variables, Flexbox for layout, and Media Queries for responsiveness. It adapts to different screen sizes, from mobile phones to desktop computers.

Example Code

The following CSS demonstrates how to define variables and use Flexbox:

:root {
  --primary-color: #3498db;
  --spacing-unit: 16px;
}

.container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-unit);
}

@media (max-width: 600px) {
  .container {
    padding: 8px;
  }
}