Skip to content

Instantly share code, notes, and snippets.

@rdtsc
Created April 20, 2016 15:33
Show Gist options
  • Save rdtsc/4ad3502f1835dbdfa66253e7775eb19f to your computer and use it in GitHub Desktop.
Save rdtsc/4ad3502f1835dbdfa66253e7775eb19f to your computer and use it in GitHub Desktop.
NW.js Issue #4749
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>NW.js</title>
<style>
html, body {
margin: 0;
padding: 0;
height: 100%;
}
button {
cursor: pointer;
width: 100%;
height: 100%;
}
button:active {
background: #AAA;
}
button:active::before {
content: 'Clicked';
}
</style>
</head>
<body>
<button></button>
</body>
</html>
{
"name": "nwjs",
"main": "index.html"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment