-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.html
More file actions
91 lines (88 loc) · 2.42 KB
/
template.html
File metadata and controls
91 lines (88 loc) · 2.42 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OSWebComponent Template</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.7.2/font/bootstrap-icons.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<style>
/* DEFAULT CSS DESIGN: BODY, BACK, AND FOOTER */
/* YOU CAN CHANGE THE FONT-FAMILY AND BACKGROUND COLOR */
body {
margin: 0;
padding: 0;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: linear-gradient(135deg, #24247b, #16213e);
font-family: 'roboto', Arial, sans-serif;
}
.back-icon {
position: absolute;
top: 20px;
right: 20px;
font-size: 40px;
color: #fff;
cursor: pointer;
transition: all 0.3s ease;
}
.back-icon:hover {
transform: scale(1.1);
}
.footer {
position: absolute;
bottom: 20px;
color: white;
text-align: center;
}
.footer a {
color: #8946f2;
text-decoration: none;
transition: color 0.3s ease;
}
.footer a:hover {
color: #b07eff;
}
/* PUT YOUR CSS HERE */
/* Example:
.my-component {
padding: 20px;
background-color: #fff;
border-radius: 5px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
*/
</style>
</head>
<body>
<!-- ADD YOUR WEB COMPONENTS HERE: HTML -->
<!-- Example:
<div class="my-component">
<h1>Hello, World!</h1>
<p>This is a custom web component.</p>
</div>
-->
<a href="../../index.html">
<!-- Do not update the link to point to the index.html file located outside the assets -->
<i class="bi bi-arrow-left-circle back-icon"></i>
</a>
<div class="footer">
<p>
[Title] developed by<br><a href="#" target="_blank">[YourName]</a>
</p>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>
<!-- ADD YOUR JAVASCRIPT HERE -->
<!-- Example:
<script>
document.addEventListener('DOMContentLoaded', () => {
console.log('Component loaded');
});
</script>
-->
</body>
</html>