The element is absolutely positioned and has the value of the right: -1100px property right: -1100px set via CSS.
At the time of an event (let's say a click on a button), it is assigned a CSS class in which the value of right set to 0 and, using the transition property, the element begins to move smoothly.
Question : How can the current value of the right property be obtained from -1100px to 0 from -1100px ?