Skip to content

Instantly share code, notes, and snippets.



Last active Sep 30, 2017
What would you like to do?
HTML version of the JavaFX JavaScript hello world sample
<title>Hello World!</title>
div.centered {
padding: 1em;
position: absolute;
top: 50%;
left: 50%;
margin-right: -50%;
transform: translate(-50%, -50%)
<div class="centered">
<button onclick="console.log('Hello World!');">Hello World!</button>
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.