18.4 #Notification.inline Inline notification (as wide as the content in it)

Toggle example guides Toggle HTML markup

.sf-notification.-inline

Lorem ipsum dolor sit amet, consectetur adipiscing elit. In a tristique elit. Curabitur sem nulla, porttitor sit amet pretium luctus.
Html
    <div class="sf-notification -info -inline">
        <span class="sf-notification__close-button"></span>
        <div class="sf-notification__content">
            Lorem ipsum dolor sit amet, consectetur adipiscing elit. In a tristique elit. Curabitur sem nulla, porttitor sit amet pretium luctus.
        </div>
    </div>