The 'font-display' CSS property controls how text is displayed during font loading. Options like 'swap', 'fallback', and 'optional' dictate whether and when to show fallback text, directly influencing the occurrence and magnitude of layout shifts.