This works ok when you have only one or two conditional styles, but if you have a number of them (usually in complex animations or tooltips), it can begin to look a bit cramped and ugly.
To help combat this, Melody also has the styles filter which is similar to, and works well with, the attrs or a classes filter:
If you are using the styles filter and want to add styles whose names are wholly or partially contained within a variable, then you need to do the following: