Skip to content

Instantly share code, notes, and snippets.

@oliverjumpertz
Created December 24, 2020 21:04
Show Gist options
  • Save oliverjumpertz/95411c95330fa893ebc711748f7ea54b to your computer and use it in GitHub Desktop.
Save oliverjumpertz/95411c95330fa893ebc711748f7ea54b to your computer and use it in GitHub Desktop.
HTML native dialog
<dialog open>
<form method="dialog">
<p>Do you want to confirm your action?</p>
<div class="right">
<input class="btn" type="submit" value="Ok" />
<input class ="btn" type="submit" value="Cancel" />
</div>
</form>
</dialog>
@Aviatorscode2
Copy link

Wow. Thanks for sharing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment