This is another version!

\define fin() $(cls)$ mr-contents
\define m1(p)
<$set name=cls filter="$p$ +[splitbefore[ ]] +[addprefix[mr-fadeIn-]]">
<span class=<<fin>> > This is a test </span>
</$set>
\end
<style>
.mr-fadeIn-red{color:red;}
.mr-fadeIn-yellow{background-color:#dadada;}
.mr-contents{border:1px solid blue;padding:5px;}
</style>

<<m1 "red yellow">>

Best
Mohammad

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/697a0b08-ba9a-4d37-aa5a-411b4dc9c401%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to