Commit 8461a168 authored by Patiphan Marak's avatar Patiphan Marak

package

parent 1430fc6e
node_module/ node_modules/
\ No newline at end of file release-builds/
\ No newline at end of file
...@@ -4,13 +4,49 @@ ...@@ -4,13 +4,49 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Hello World!</title> <title>Hello World!</title>
</head> <style>
.container {
position: relative;
width: 50%;
}
<body> .image {
<h1>Hello World!</h1> display: block;
width: 100%;
height: auto;
}
.overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background-color: #008CBA;
overflow: hidden;
width: 100%;
height: 0;
transition: .5s ease;
}
.container:hover .overlay {
height: 100%;
}
.text {
color: white;
font-size: 20px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
text-align: center;
}
</style>
</head>
<body>
<h1>Hello World!</h1>
<div class="w3-container"> <div class="w3-container">
Node version Node version
<script>document.write(process.versions.node)</script> <script>document.write(process.versions.node)</script>
...@@ -27,6 +63,7 @@ ...@@ -27,6 +63,7 @@
<img src="https://hackr.io/tutorials/learn-electron/svg/electron_logo" class="w3-border" alt="Norway" style="padding:16px;width:50%"> <img src="https://hackr.io/tutorials/learn-electron/svg/electron_logo" class="w3-border" alt="Norway" style="padding:16px;width:50%">
</div> </div>
</body> </body>
</html> </html>
\ No newline at end of file
This diff is collapsed.
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
"author": "Patiphan", "author": "Patiphan",
"license": "ISC", "license": "ISC",
"devDependencies": { "devDependencies": {
"electron": "^1.8.2" "electron": "^1.8.2",
"electron-packager": "^11.0.1"
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment