When passage transition occurs in Snowman, two events happen; the current passage is hidden ('hidepassage' event) and the new passage is shown ('showpassage' event). You can set up some jQuery to run on the event. Here's an example (put in StoryJavascript):
$(document).on('hidepassage', function(){
$('#passage').fadeOut('fast');
});
$(document).on('showpassage', function(){
$('#passage').hide().fadeIn('fast');
});
There might be a pure CSS way to do it, but I can't think of an easy one right now.
A couple other things, in case you didn't know:
- There's nothing about 'transition' tags in that link that I can see, it's just talking about how to use tags to control CSS.
- That link is for Twine 1.4, and is outdated even for recent versions of Twine 1.4. Also, Story Formats all work differently, and Twine 1.4 didn't have the Snowman format at all.
- Snowman is designed for people who know JavaScript very, very well, and it includes very little functionality outside of basic structuring and such. It may or may not be for you, I'm just letting you know. It's a cool format, very minimalist, but almost none of the Twine code snippets you find on the Internet will work with it.