RobinBrouwer/bootstrap_flash_messages — pull request #5 by protolif (2012-09-27 07:40:59+00:00)
Title: New Feature: Fade-out on close

Robin,

Hey, I really like your gem. I'm currently using it for a client project, and thought it would be nice to add this little feature.

What it does:

If you pass `:fade` to the `flash_messages` helper, it adds two CSS classes that Bootstrap uses to do the fancy fade-out animation, when the user clicks the close button (x).

`flash_messages :close, :fade`

I did not bump the version number. I'll leave that to you, if you decide to pull.

Cheers,
**James Dunn**