Skip to content

Instantly share code, notes, and snippets.

@rickd-uk
Created February 13, 2022 09:58
Show Gist options
  • Save rickd-uk/da5b6f644c778b5f05b5f620aa59d6f2 to your computer and use it in GitHub Desktop.
Save rickd-uk/da5b6f644c778b5f05b5f620aa59d6f2 to your computer and use it in GitHub Desktop.
Ask User Permission To Allow Sound (CSS)
.alert {
font: 14px Arial, sans-serif;
position: fixed;
top: 0;
left: 0;
background: white;
border: 1px solid lightgray;
box-shadow: 3px 3px 12px lightgray;
}
p { margin: 12px; }
.alert .buttons {
float: right
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment