-
Notifications
You must be signed in to change notification settings - Fork 222
Expand file tree
/
Copy pathindex.html
More file actions
108 lines (103 loc) · 2.61 KB
/
index.html
File metadata and controls
108 lines (103 loc) · 2.61 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Sesame Open Yourself</title>
<style>
.MyFrame {
width: 400px;
height: 400px;
background: linear-gradient(
to left,
rgba(220, 57, 24, 0.98),
rgba(1, 1, 249, 0.95)
);
border: 100px double;
border-color: rgba(214, 223, 41, 0.8);
margin: 50px auto;
box-shadow: 5px 5px 20px rgb(96, 94, 94);
transition-property: width;
transition-duration: 2s;
transition-delay: 1s;
}
.MyFrame:hover {
box-shadow: 15px 15px 30px #aaa;
width: 600px;
/* swap color */
background: linear-gradient(
to right,
rgba(220, 57, 24, 0.98),
rgba(1, 1, 249, 0.95)
);
}
.inside {
width: 200px;
height: 100px;
margin: 90px auto;
border: 50px double;
border-color: wheat;
border-color: rgba(214, 223, 41, 0.8);
/* background-color: rgba(19, 173, 147, 0.3); */
background: linear-gradient(
to left,
rgba(220, 57, 24, 0.98),
rgba(1, 1, 249, 0.95)
);
transition-property: width;
transition-duration: 2s;
transition-delay: 1s;
}
.inside:hover {
background: linear-gradient(
to right,
rgba(220, 57, 24, 0.98),
rgba(1, 1, 249, 0.95)
);
width: 300px;
}
.deepinside {
width: 70px;
height: 20px;
margin: 20px auto;
border: 20px double;
border-color: rgba(214, 223, 41, 0.8);
background: linear-gradient(
to left,
rgba(220, 57, 24, 0.98),
rgba(1, 1, 249, 0.95)
);
}
.open {
cursor: pointer;
background: linear-gradient(
to left,
rgba(220, 57, 24, 0.98),
rgba(1, 1, 249, 0.95)
);
color: rgb(175, 159, 159);
padding-left: 5px;
border: none;
letter-spacing: 0.15rem;
font-family: cursive;
transition: 1s all;
}
.open:hover {
transform: rotate(360deg);
}
.open:active {
transform: scale(0.8);
}
</style>
</head>
<body>
<div class="MyFrame">
<div class="inside">
<div class="deepinside">
<button class="open" type="button">Sesame</button>
</div>
</div>
</div>
</body>
</html>