Set CSS transition to use speed instead of duration?
<p>Is it possible to set CSS transition to use speed instead of duration?</p>

<p>Right now, if I want to have a class that moves element from left to right of another element, speed greatly varies.</p>

<p>If I have short element and I want to move sub element from left to right and duration is set to e.g. 1sec, than it moves really slow.</p>

<p>On the other hand, if I have a very long element with the same class, than sub element flashes through at incredible speed to satisfy time limit of 1sec.</p>

<p>This really hurts my CSS modularity, so I'd like to know if there's a way to make transitions consistent in such cases.</p>