Using the latest CSS features, HTML5 custom data attributes, and ES6 template literals, the user can edit a photo.
This program leverages Scoped CSS Variables along with ES6.
What makes this small program efficient and DRY is
const suffix = this.dataset.sizing || "";
document.documentElement.style.setProperty(`--${this.name}`, this.value + suffix);
Use the sliders to adjust the photo.