-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
46 lines (39 loc) · 1.11 KB
/
index.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
42
43
44
45
46
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>DemCouch</title>
<% for(let file of htmlWebpackPlugin.options.assets){ %>
<% if(file.match(/\.css$/)) { %>
<link href="<%= htmlWebpackPlugin.files.publicPath + file %>" rel="stylesheet">
<% } else if(file.match(/\.js$/)) {%>
<script src="<%= htmlWebpackPlugin.files.publicPath + file %>"></script>
<% } else {%>
<link rel="prefetch" href="<%= htmlWebpackPlugin.files.publicPath + file %>">
<% }}%>
<style>
.loader {
position: absolute;
left: calc(50vw - 60px);
top: calc(50vh - 60px);
border: 16px solid #f3f3f3;
border-top: 16px solid #32aaf0;
border-radius: 50%;
width: 120px;
height: 120px;
animation: spin 2s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
</style>
</head>
<body>
<div id="app">
<div class="loader"></div>
</div>
</body>
</html>