As expressed they are not grammatically correct, technically. However if one wants to consider an ellipsis, as is often the case for something in motto form, as this is, it works. Dress (in a) cheesy (style), dance (in a) classy (style).
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.