-
Notifications
You must be signed in to change notification settings - Fork 0
/
require.html
41 lines (40 loc) · 1.04 KB
/
require.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Multiple Files example</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="browser.script.iife.js"></script>
<style>
.spinner {
border: 4px solid rgba(0, 0, 0, 0.1);
width: 40px;
height: 40px;
border-radius: 50%;
border-left-color: #09f;
animation: spin 1s ease infinite;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.buttons {
display: none;
}
</style>
</head>
<body class="main">
<h3>
Multiple Files Example
</h3>
<div id="spinner" class="spinner"></div>
<div class="buttons">
<button id="hello">Click me</button>
</div>
<script type="text/ruby" src="require/main.rb" data-eval="async"></script>
</body>
</html>