-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
95 lines (89 loc) · 2.02 KB
/
Copy pathstyle.css
File metadata and controls
95 lines (89 loc) · 2.02 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
body{
user-select: none;
width: auto;
height: auto;
word-wrap: break-word;
background-color: pink;
}
canvas{
position: absolute;
user-select: none;
width: auto;
height: auto;
border:red;
border-width: 1px;
z-index: -1;
}
h1{
top: 40%;
left: 40%;
position: absolute;
font-size: 100px;
z-index: 1;
-webkit-animation: flip-scale-up-hor 0.5s linear infinite both;
animation: flip-scale-up-hor 0.5s linear infinite both;
}
@-webkit-keyframes flip-scale-up-hor {
0% {
-webkit-transform: scale(1) rotateX(0);
transform: scale(1) rotateX(0);
}
50% {
-webkit-transform: scale(2.5) rotateX(-90deg);
transform: scale(2.5) rotateX(-90deg);
}
100% {
-webkit-transform: scale(1) rotateX(-180deg);
transform: scale(1) rotateX(-180deg);
}
}
@keyframes flip-scale-up-hor {
0% {
-webkit-transform: scale(1) rotateX(0);
transform: scale(1) rotateX(0);
}
50% {
-webkit-transform: scale(2.5) rotateX(-90deg);
transform: scale(2.5) rotateX(-90deg);
}
100% {
-webkit-transform: scale(1) rotateX(-180deg);
transform: scale(1) rotateX(-180deg);
}
}
img{
user-select: none;
width: auto;
height: auto;
position: absolute;
}
button{
margin-top : 400px;
margin-left : 160px;
background-color : #ffffff;
border:none;
border-radius : 7px;
box-shadow : 1px 1px 5px 0px rgb(0,0,0);
min-height: 60px;
min-width: 160px;
font-size : 25px;
}
/*this code below is not working idk why cry*/
button:hover{
background-color: rgb(238, 206, 206);
transition : 0.5s;
box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}
button:active{
background-color: rgb(212, 138, 138);
}
div {
position: fixed;
top: 10%;
left: 20%;
width: 60%;
height: 80%;
padding: 20px;
border: 4px solid rgb(26, 5, 5);
border-radius : 10px;
}