Replicating the functionality of Ctrl++ and Ctrl-- using buttons in a browser involves a different approach. You'll need to simulate the Ctrl key being pressed while clicking the buttons. This isn't straightforward since simulating system-level key presses isn't allowed for security reasons in most browsers.

Turn your Figma design into a fast, production-ready frontend — in 2–5 days. Hire me on Upwork.