Project 21: Music Player UI
CSS Stylist
Builds on these lessons
Step 1 of 3
Project
clamp() for Fluid Sizing
Set .track-title { font-size: clamp(1.25rem, 4vw, 2rem); }. clamp(min, preferred, max) scales the font continuously with the viewport between those two bounds — no jump at a breakpoint, just a smooth resize as the window changes width.
🎯 Your Task
Please add the exact code shown in the light gray box below to your editor.Do not delete your previous code, just insert these new lines in the correct place!
.track-title {
font-size: clamp(1.25rem, 4vw, 2rem);
font-weight: 700;
}