Add style to distinguish button disabled state

pull/3971/head
Asaf Limi Agranat 6 years ago committed by GitHub
parent 0aceccc31b
commit 3e099baa31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,6 +2,10 @@
let yes = false;
</script>
<style>
button[disabled] { color: #aaa }
</style>
<label>
<input type=checkbox checked={yes}>
Yes! Send me regular email spam
@ -15,4 +19,4 @@
<button disabled={!yes}>
Subscribe
</button>
</button>

Loading…
Cancel
Save