Dismiss notice

back edit

Dismiss notice on submit.

<div class="position-relative js-notice container-sm">
  <a class="flash text-gray-dark f5 d-block no-underline" href="https://github.github.io/web-systems-documentation/">
    <strong>New thing!</strong><br>
    Check out Web Systems documentation.
  </a>
  <form class="js-notice-dismiss" action="#">
    <button type="submit" aria-label="Dismiss" class="text-gray position-absolute p-3 top-0 btn-link right-0 no-underline">
      <%= octicon "x" %>
    </button>
  </form>
</div>