Closed bcerc closed 2 years ago
The background positioning was being calculated incorrectly. A percentage position should be based relatively to the element's size thus using element.clientWidth and element.clientHeight.
The background positioning was being calculated incorrectly. A percentage position should be based relatively to the element's size thus using element.clientWidth and element.clientHeight.