-
Notifications
You must be signed in to change notification settings - Fork 1
/
sid's.html
96 lines (81 loc) · 1.6 KB
/
sid's.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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.button {
border-radius: 4px;
background-color: #f4511e;
border: none;
color: #FFFFFF;
text-align: center;
font-size: 28px;
padding: 20px;
width: 200px;
transition: all 0.5s;
cursor: pointer;
margin: 5px;
}
.button span {
cursor: pointer;
display: inline-block;
position: relative;
transition: 0.5s;
}
.button span:after {
content: '\00bb';
position: absolute;
opacity: 0;
top: 0;
right: -20px;
transition: 0.5s;
}
.button:hover span {
padding-right: 25px;
}
.button:hover span:after {
opacity: 1;
right: 0;
}
body {
font-family: Arial, Helvetica, sans-serif;
}
.notification {
background-color: #555;
color: white;
text-decoration: none;
padding: 15px 26px;
position: relative;
display: inline-block;
border-radius: 2px;
}
.notification:hover {
background: red;
}
.notification .badge {
position: absolute;
top: -10px;
right: -10px;
padding: 5px 10px;
border-radius: 50%;
background-color: red;
color: white;
}
</style>
</head>
<body>
<h1>Main App</h1>
<h2>Your Reminders</h2>
<a href="#" class="notification">
<span>Reminders</span>
<span class="badge">3</span>
</a>
<h2>Try these!</h2>
<button class="button" onclick="document.location='reminders-index.html'"><span>Open Reminders</span></button>
<br>
<br>
<button class="button" onclick="document.location='crossword.html'"><span>Open a Crossword </span></button>
<br>
<br>
<button class="button" onclick="document.location='Photos_of_family.html'"><span>Photos of Friends and Family </span></button>
</html>