     border: none;
     padding: 12px 24px;
   }
+
+
+  @keyframes flashfadein {
+    from {bottom: 0; opacity: 0;}
+    to {bottom: 50px; opacity: 1;}
+  }
+
+  @keyframes flashfadeout {
+    from {bottom: 50px; opacity: 1;}
+    to {bottom: 0; opacity: 0;}
+  }
+
+
 """
 
-flash = fetch('flash')
 
 clear_flash = ->
-  flash.message = flash.args = null 
+  flash = fetch('flash')
+  flash.message = flash.time = flash.args = null 
   save flash
 
 window.show_flash_error = (message, time_in_ms) ->


        DIV 
          className: 'flash-message'
          dangerouslySetInnerHTML: {__html: flash.message}

        DIV
          className: 'flash-close'

    justify-content: center;
    z-index: 9999999;
    position: fixed;
    font-size: 15px;
  }
  #flash {
