If you are having transitions occur instantaneously, consider the following things:
Increase the transition's duration to a reasonable amount of time to check that it is actually working.
It's extremely important to note whether your transition is occuring in ms (milliseconds) or s (seconds).
Add the transition to a style that is present during the entire duration of your transition.
If a style is removed as its specified transition is occuring, it will be cancelled.
If an element is never evaluated in a state, that state will never form a point in the transition.
For example, creating an element (or enabling a document) and adding a USS class in a single frame will not perform a transition. Consider adding the class after a delay.