-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathindex.html
202 lines (179 loc) · 9.87 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
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>CodePen - Notifications Collection (4 examples, responsive)</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500&display=swap" rel="stylesheet" ><link rel="stylesheet" href="./style.css">
</head>
<body>
<!-- partial:index.partial.html -->
<!--PEN HEADER-->
<div class="header">
<h1 class="header__title">Notifications Collection</h1>
<div class="header__subtitle"><span>(4 examples, responsive)</span></div>
<div class="header__btns"><a class="header__btn" href="https://github.com/nat-davydova/notifications-collection" title="Grab From Github" target="_blanc">Check On Github</a></div>
</div>
<!--PEN CONTENT-->
<div class="content">
<!-- inspired by dribbble shot - https://dribbble.com/shots/15602748-Alert-Components -->
<div class="effect">
<h3 class="effect__title">Example #1</h3>
<div class="effect__content">
<div class="effect__cell">
<div class="notification1 notification1--success notification notification--elevation">
<div class="notification1__content notification__content">
<h4 class="notification1__title notification1__title--success notification__title">Your Success Title - Keep It Short</h4>
<p>Describe the event and give further instructions if needed, including <a href="#">links</a> to other pages</p>
</div>
<div class="notification1__btn-bar">
<button class="notification1__close notification__btn notification__btn--close" type="button" title="Close">Close</button>
</div>
</div>
</div>
<div class="effect__cell">
<div class="notification1 notification1--warning notification notification--elevation">
<div class="notification1__content notification__content">
<h4 class="notification1__title notification1__title--warning notification__title">Your Warning Title - Keep It Short</h4>
<p>Describe the event and give further instructions if needed, including <a href="#">links</a> to other pages</p>
</div>
<div class="notification1__btn-bar">
<button class="notification1__close notification__btn notification__btn--close" type="button" title="Close">Close</button>
</div>
</div>
</div>
<div class="effect__cell">
<div class="notification1 notification1--danger notification notification--elevation">
<div class="notification1__content notification__content">
<h4 class="notification1__title notification1__title--danger notification__title">Your Danger Title - Keep It Short</h4>
<p>Describe the event and give further instructions if needed, including <a href="#">links</a> to other pages</p>
</div>
<div class="notification1__btn-bar">
<button class="notification1__close notification__btn notification__btn--close" type="button" title="Close">Close</button>
</div>
</div>
</div>
</div>
</div>
<!-- inspired by dribbble shot - https://dribbble.com/shots/16891665-Daily-UI-011-Flash-Message -->
<div class="effect">
<h3 class="effect__title">Example #2</h3>
<div class="effect__content">
<div class="effect__cell">
<div class="notification2 notification2--success notification">
<div class="notification2__content notification__content">
<h4 class="notification2__title notification2__title--success notification__title">Your Success Title - Keep It Short</h4>
<p>Describe the event and give further instructions if needed, including <a href="#">links</a> to other pages</p>
</div>
<div class="notification2__btn-bar">
<button class="notification2__close notification__btn notification__btn--close" type="button" title="Close">Close</button>
</div>
</div>
</div>
<div class="effect__cell">
<div class="notification2 notification2--warning notification">
<div class="notification2__content notification__content">
<h4 class="notification2__title notification2__title--warning notification__title">Your Warning Title - Keep It Short</h4>
<p>Describe the event and give further instructions if needed, including <a href="#">links</a> to other pages</p>
</div>
<div class="notification2__btn-bar">
<button class="notification2__close notification__btn notification__btn--close" type="button" title="Close">Close</button>
</div>
</div>
</div>
<div class="effect__cell">
<div class="notification2 notification2--danger notification">
<div class="notification2__content notification__content">
<h4 class="notification2__title notification2__title--danger notification__title">Your Danger Title - Keep It Short</h4>
<p>Describe the event and give further instructions if needed, including <a href="#">links</a> to other pages</p>
</div>
<div class="notification2__btn-bar">
<button class="notification2__close notification__btn notification__btn--close" type="button" title="Close">Close</button>
</div>
</div>
</div>
</div>
</div>
<!-- inspired by dribbble shot - https://dribbble.com/shots/15535587-Notifications -->
<div class="effect">
<h3 class="effect__title">Example #3</h3>
<div class="effect__content">
<div class="effect__cell">
<div class="notification3 notification3--success notification">
<div class="notification3__content notification__content">
<h4 class="notification3__title notification3__title--success notification__title">Your Success Title - Keep It Short</h4>
<p>Describe the event and give further instructions if needed, including <a href="#">links</a> to other pages</p>
</div>
<div class="notification3__btn-bar">
<button class="notification3__close notification__btn notification__btn--close" type="button" title="Close">Close</button>
</div>
</div>
</div>
<div class="effect__cell">
<div class="notification3 notification3--warning notification">
<div class="notification3__content notification__content">
<h4 class="notification3__title notification3__title--warning notification__title">Your Warning Title - Keep It Short</h4>
<p>Describe the event and give further instructions if needed, including <a href="#">links</a> to other pages</p>
</div>
<div class="notification3__btn-bar">
<button class="notification3__close notification__btn notification__btn--close" type="button" title="Close">Close</button>
</div>
</div>
</div>
<div class="effect__cell">
<div class="notification3 notification3--danger notification">
<div class="notification3__content notification__content">
<h4 class="notification3__title notification3__title--danger notification__title">Your Danger Title - Keep It Short</h4>
<p>Describe the event and give further instructions if needed, including <a href="#">links</a> to other pages</p>
</div>
<div class="notification3__btn-bar">
<button class="notification3__close notification__btn notification__btn--close" type="button" title="Close">Close</button>
</div>
</div>
</div>
</div>
</div>
<div class="effect">
<h3 class="effect__title">Example #4</h3>
<div class="effect__content">
<div class="effect__cell">
<div class="notification4 notification4--success notification notification--elevation">
<div class="notification4__content notification__content">
<h4 class="notification4__title notification4__title--success notification__title">Your Success Title - Keep It Short</h4>
<p>Describe the event and give further instructions if needed, including <a href="#">links</a> to other pages</p>
</div>
<div class="notification4__btn-bar">
<button class="notification4__close notification__btn notification__btn--close" type="button" title="Close">Close</button>
</div>
</div>
</div>
<div class="effect__cell">
<div class="notification4 notification4--warning notification notification--elevation">
<div class="notification4__content notification__content">
<h4 class="notification4__title notification4__title--warning notification__title">Your Warning Title - Keep It Short</h4>
<p>Describe the event and give further instructions if needed, including <a href="#">links</a> to other pages</p>
</div>
<div class="notification4__btn-bar">
<button class="notification4__close notification__btn notification__btn--close" type="button" title="Close">Close</button>
</div>
</div>
</div>
<div class="effect__cell">
<div class="notification4 notification4--danger notification notification--elevation">
<div class="notification4__content notification__content">
<h4 class="notification4__title notification4__title--danger notification__title">Your Danger Title - Keep It Short</h4>
<p>Describe the event and give further instructions if needed, including <a href="#">links</a> to other pages</p>
</div>
<div class="notification4__btn-bar">
<button class="notification4__close notification__btn notification__btn--close" type="button" title="Close">Close</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- partial -->
</body>
</html>