Web Development · module 5 of 13

Responsive Design & Motion

Use fluid sizing, media queries, responsive visibility, transitions, animations, and reduced-motion fallbacks.

Course map
phonebase stylesone columntabletmin-width: 768pxtwo columnsdesktopmin-width: 1024pxsidebar appearsEach breakpoint adds to what came before rather than replacing it, so the smallest screen — the onewith least room and often the worst connection — is the case you designed first, not last.Working the other way round makes every layout an exception to the desktop one.
Responsive Design & Motion — the idea in one picture

What this module covers

5 steps · Web Development

  1. Step 1. Lesson: Responsive Design & Motion

    Use fluid sizing, media queries, responsive visibility, transitions, animations, and reduced-motion fallbacks. Learning objectives - Recognize when responsive design & motion is the right tool. - Explain the role of media, transition, max-width. - Build a small working example before combining it with a larger interface. - Identify one accessibility, maintainability, or error-handling improvement. Read the example, predict what it will do, then complete the small change described in the check question.

    Use fluid sizing, media queries, responsive visibility, transitions, animations, and reduced-motion fallbacks. In HTML + CSS, make the state/interaction visible in the UI so completion is easy to verify.

    Check yourself: [HTML + CSS] Use the example to demonstrate responsive design & motion.

  2. Step 2. Quiz: Responsive Design & Motion

    Check your understanding of Responsive Design & Motion.

    prefers-reduced-motion lets a design reduce or remove non-essential animation. In HTML + CSS, make the state/interaction visible in the UI so completion is easy to verify.

    Check yourself: [HTML + CSS] Complete the knowledge check.

  3. Step 3. Exercise: Responsive Design & Motion

    Make a card grid fluid across phone, tablet, and desktop, then add a subtle reduced-motion-safe hover transition.

    This exercise turns the Responsive Design & Motion lesson into a working code change. In HTML + CSS, make the state/interaction visible in the UI so completion is easy to verify.

    Check yourself: [HTML + CSS] Does the solution use media and transition and max-width?

  4. Step 4. Review lab: Explain & improve Responsive Design & Motion

    Rebuild the exercise without copying the solution. Then improve it in two ways: make the code easier to understand and add one useful edge case, responsive behavior, accessibility improvement, or error state. Finally, write a short explanation of how media, transition, max-width work together.

    Rebuilding from memory and improving an edge case turns recognition into durable skill. In HTML + CSS, make the state/interaction visible in the UI so completion is easy to verify.

    Check yourself: [HTML + CSS] Does the improved version still use media, transition, max-width clearly?

  5. Step 5. Mini project: Responsive Design & Motion

    Build a responsive landing page with fluid type, adaptive navigation, animated cards, and reduced-motion support.

    The mini project combines the module lesson, quiz, and exercise into one portfolio-ready result. In HTML + CSS, make the state/interaction visible in the UI so completion is easy to verify.

    Check yourself: [HTML + CSS] Does the project apply the module's responsive design & motion skills?

Loading code lab...