Focus Mode

Focus Mode allows you to keep the preview aligned with the code you're working on. Enable it by clicking the Focus Mode button in the bottom left corner of the preview, or with the keyboard shortcut CMD SHIFT M (on Mac) or CTRL SHIFT M (on Windows). As you navigate to different sections of your code, the preview will jump to the matching location and outline the relevant element. When you are done with Focus Mode, click the button (or keyboard shortcut) again to deactivate it.

Screen recording demonstrating the Focus Mode tool