You can pretty much copy the existing `SessionHelper::flash()` method's code. CSS in `cake.generic.css` can be updated as required.