O'Reilly logo

Getting Started with Zurb Foundation 4 by Andrew D. Patterson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Alerts

The Alerts plugin offers a simple way to bring attention to a message. They are not pop ups, just inline content that is emphasized as a result of the classes you provide it with.

They support the color (primary, secondary, alert, and success) and radius (square, radius, and round) classes. As in the previous chapter, we use primary and square for documentation purposes only. Since they are not defined in Foundation's style sheets, we'll get default values when we use them and that's what we want.

The setup is very simple. Give a container the alert-box class along with any of the optional size or radius classes. If you want the alert message to stay open on the page and not have the capability of getting closed, your task is done. If you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required