Dynamic in what way? Like changing the 75px to, say, 85px? In CSS, you can create a variable and then use it in the translateX/Y function, but I'm not sure how you'll write to it from the session.
What you could do, depending on how many different options you have to translateX/Y, is to just define the style class based on the different translate amounts... This is obviously suboptimal, but the first that came to mind, say, if you had 5 - 10 different options.
This feels almost wrong to do this, but I don't know how else you can dictate the animation from the session without having to do a write to the filesystem to update the CSS variable or something complicated like that. It would be easier to do in native development.
[I'm operating under the assumption that you'll want to be able to dictate the animation from the session]
Depending on the need you could also use percentages and just put it on a wrapper container or something that you can resize to whatever size you want (be it 75px or 100 px or whatever)
You might have to handle overflow too tho