CodePen

Pure HTML + CSS alerts with dismiss.

by Robert Lemon on February 11, 2013 (updated February 25, 2013)

Pretty pointless if you ask me, just use JS for this.

However I wanted to see if I could do it without js. So here you go. Enjoy!

Uses FontAwesome because they are awesome.

Small margin issue you can see if you remove a alert from the middle of a stack. not sure how to work around it.

  • 185 Views
  • 0 Comments
  • 5 Hearts