<div class="alert alert--error"> <span class="alert__msg msg--error">This is a error message</span> </div> <div class="alert alert--warning"> <span class="alert__msg msg--alert">This is a warning message</span> </div> <div class="alert alert--info"> <span class="alert__msg msg--info">This is a info message</span> </div> <div class="alert alert--success"> <span class="alert__msg msg--success">This is a success message</span> </div>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter