Alerts

Alert Markup

The alert element is structured using a div with class .alert with a child.alert__body which houses the contents of the alert ie. the text and an element with class .alert__close which, when clicked – dismisses the alert.