Skip to content

Instantly share code, notes, and snippets.

@joshcp joshcp/modal.html
Created Mar 1, 2017

What would you like to do?
<form action-xhr="" method="post">
<!-- form inputs here -->
<div submit-success>
<template id="payTemplate" type="amp-mustache">
<!-- checkout here -->
<div submit-error>
<template type="amp-mustache">
<input type="checkbox" id="modal-hider">
<div class="full-screen modal error hide-on-tap">
<div class="panel">
<h1 class="modal-head">{{error.heading}}</h1>
<button class="modal-btn"> OK </button>
<label for="modal-hider" class="full-screen"></label>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.