-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
89 lines (82 loc) · 3.51 KB
/
index.html
File metadata and controls
89 lines (82 loc) · 3.51 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Advanced Notification System</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<header>
<h1>Advanced Notification System</h1>
<p>Interactive demo with various notification types</p>
</header>
<div class="notification-controls">
<div class="control-group">
<h3>Notification Types</h3>
<div class="button-group">
<button class="btn success" data-type="success">
<i class="fas fa-check-circle"></i> Success
</button>
<button class="btn error" data-type="error">
<i class="fas fa-times-circle"></i> Error
</button>
<button class="btn warning" data-type="warning">
<i class="fas fa-exclamation-triangle"></i> Warning
</button>
<button class="btn info" data-type="info">
<i class="fas fa-info-circle"></i> Info
</button>
<button class="btn custom" data-type="custom">
<i class="fas fa-star"></i> Custom
</button>
</div>
</div>
<div class="control-group">
<h3>Animation Styles</h3>
<div class="button-group">
<button class="btn" data-animation="slide">Slide</button>
<button class="btn" data-animation="fade">Fade</button>
<button class="btn" data-animation="bounce">Bounce</button>
<button class="btn" data-animation="flip">Flip</button>
</div>
</div>
<div class="control-group">
<h3>Position</h3>
<div class="button-group">
<button class="btn" data-position="top-right">Top Right</button>
<button class="btn" data-position="top-left">Top Left</button>
<button class="btn" data-position="bottom-right">Bottom Right</button>
<button class="btn" data-position="bottom-left">Bottom Left</button>
</div>
</div>
<div class="control-group">
<h3>Settings</h3>
<div class="settings">
<label>
<input type="checkbox" id="soundEnabled" checked>
Enable Sound
</label>
<label>
<input type="checkbox" id="autoClose" checked>
Auto Close
</label>
<label>
<input type="number" id="duration" value="3000" min="1000" max="10000" step="1000">
Duration (ms)
</label>
</div>
</div>
</div>
<div class="notification-container" id="notificationContainer"></div>
<footer>
<div class="footer-content">
Created by <a href="https://harmoncode.com" target="_blank">HarmonCode</a>
</div>
</footer>
</div>
<script src="script.js"></script>
</body>
</html>