-
Notifications
You must be signed in to change notification settings - Fork 0
/
rj-notification.html
56 lines (50 loc) · 1.19 KB
/
rj-notification.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
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html lang="pl-PL">
<head>
<meta charset="utf-8" />
<title>Cookies Rodo Notification</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<style>
body {
margin: 0;
font-family: sans-serif;
}
.container {
background-color: #000;
}
header,
main,
footer {
width: 100%;
}
header {
height: 100px;
background-color: #ccc;
}
main {
height: 500px;
background-color: #eee;
}
footer {
height: 150px;
background-color: #dedede;
}
</style>
<link href="css/rj-notification.css" rel="stylesheet" />
</head>
<body>
<div class="container">
<header></header>
<main></main>
<footer id="cookies-container"></footer>
</div>
<script src="js/rj-notification.js"></script>
<script>
const cookieNotification = new RjNotification({
notificationId: 'cookies-info',
notificationPosition: 'relative',
notificationFixedTop: true
});
</script>
</body>
</html>