Color scheme

Unit 5: Typography, Print, and Forms

This unit focuses on the details that separate polished sites from rough ones. You will establish a modular type scale with fluid sizing, load web fonts efficiently, write print stylesheets that produce clean documents, and style forms with the same token discipline you have applied everywhere else in the course.

Part A: Type Systems and Fluid Type

Learn

  • Type Scale and Fluid Type
    Build a consistent heading and body hierarchy using a modular scale and fluid type techniques that adapt smoothly across viewport sizes.
  • Web Fonts
    Load custom fonts with @font-face, manage fallback stacks, and apply performance strategies like font-display and preloading.

Choose Topics

Choose Topics are a team activity. Your team divides the topics among its members so each person covers one. Smaller teams do not need to cover every topic, and larger teams should only double up when the list is shorter than the team. Work through your topic's learn page and record a short Teaching Video that teaches your teammates what you learned:

For your chosen topic, you are expected to create your own demo. You are welcome to include our demos in your video as well, but they should accompany your work, not stand in for it. Only rely on our demos as your sole demonstration if the page explicitly says so.

Assignments

Part B: Print, Forms, and Tokens at Scale

Resume and Contact on Your Portfolio

The resume and contact pages you build this week are portfolio staples employers expect to find. Link them from your homepage when you are ready.

Learn

  • Print Stylesheets
    Write a print media stylesheet that produces clean, readable documents by hiding navigation, adjusting layout, and managing page breaks.
  • Forms and Token Review
    Style form controls consistently using your existing token system and review how all your tokens work together at scale.

Choose Topics

Choose Topics are a team activity. Your team divides the topics among its members so each person covers one. Smaller teams do not need to cover every topic, and larger teams should only double up when the list is shorter than the team. Work through your topic's learn page and record a short Teaching Video that teaches your teammates what you learned:

For your chosen topic, you are expected to create your own demo. You are welcome to include our demos in your video as well, but they should accompany your work, not stand in for it. Only rely on our demos as your sole demonstration if the page explicitly says so.

  • User Media and Safe-Area Insets
    Detect user preferences with media features and handle notched or rounded displays using safe-area environment variables.
  • color-scheme Deep Dive
    Understand how the color-scheme property influences browser-rendered UI and interacts with your custom theming tokens.
  • content-visibility and Contain
    Improve rendering performance by letting the browser skip layout and paint for off-screen content.
  • interpolate-size
    Animate between intrinsic sizes like auto and fixed values using the interpolate-size property.
  • Form Control Styling Beyond the Basics
    Tackle the harder-to-style controls like selects, checkboxes, and range inputs using modern appearance and accent-color techniques.

Assignments