Home / CSS Tips Generated By ChatGPT / Responsive Design with rem Units in CSS Use rem units for font sizes and spacing to maintain scalability and responsiveness. Source Code body { font-size: 16px; /* Default size */ } h1 { font-size: 2rem; /* Scales with body font-size */ }