CodePen

Loading ..................

Pure HTML + CSS alerts with dismiss.

Description

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.

Tags

  1. alerts
  2. css only
  3. dismiss

Comments

  1. No comments yet.

Leave a Comment Markdown supported. Double-click names to add to comment.

You must be logged in to comment.
  • 535 Views
  • 0 Comments
  • 7 Hearts
Loading...
Loading...