-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathScroll.css
More file actions
135 lines (123 loc) · 2.91 KB
/
Copy pathScroll.css
File metadata and controls
135 lines (123 loc) · 2.91 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
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
.top-to-btm {
position: relative;
}
.icon-position {
position: fixed;
bottom: 40px;
right: 25px;
z-index: 20;
}
.icon-style {
border: 2px solid #fff;
border-radius: 50%;
height: 50px;
width: 50px;
color: #fff;
cursor: pointer;
animation: movebtn 3s ease-in-out infinite;
transition: all .5s ease-in-out;
background-image: url(../assets/images/35.gif);
background-position: center;
box-shadow: 2px 10px 10px #000000;
}
.icon-style:hover {
animation: none;
color: #551B54;
color: #fff;
background-image: url(../assets/images/33.gif);
border: 2px solid #551B54;
}
/* .icon-style:before {
content: 'UP';
content: "Read this -";
color: #fff;
color: #551B54;
font-size: 90px;
background-color: #551B54;
width: 90px;
height: 90px;
content: "Read this -";
background-color: yellow;
color: red;
font-weight: bold;
}
.top-to-btm::after {
content: " - Remember this";
font-size: 90px;
background-color: #551B54;
width: 90px;
height: 90px;
content: "Read this -";
background-color: yellow;
color: red;
font-weight: bold;
} */
.top-to-btm::before,
.top-to-btm::after {
content: " GO TO UP"!important;
/* color: red!important; */
width: 16px !important;
height: 2px!important;
transition: transform 0.3s ease-in-out!important;
content: '';
position: fixed;
width: 100px;
height: 100px;
/* border-left: 10px solid transparent; */
/* border-right: 10px solid transparent; */
/* bottom: 80px;
right: 35px; */
}
.visible::before,
.visible::after {
content: " Click to go to up"!important;
/* color: rgb(200, 149, 149) !important; */
width: 16px !important;
height: 16px !important;
bottom: 200px;
right: 50px;
position: fixed;
animation: movebtn 3s ease-in-out infinite;
transition: all .5s ease-in-out;
text-shadow: 2px 10px 10px #000000;
z-index: 9999999;
/* transition: transform 0.3s ease-in-out !important; */
}
.hidden::before,
.hidden::after {
content: '';
position: fixed;
width: 100px;
height: 100px;
/* border-left: 10px solid transparent;
border-right: 10px solid transparent; */
bottom: 80px;
right: 80px;
}
.top-to-btm::before {
/* transform: rotate(-45deg)!important; */
/* top: 8px!important;
left: 5px!important; */
}
.top-to-btm::after {
/* transform: rotate(45deg)!important; */
/* top: 8px!important;
left: -5px!important; */
}
@keyframes movebtn {
0% {
transform: translateY(0px);
}
25% {
transform: translateY(20px);
}
50% {
transform: translateY(0px);
}
75% {
transform: translateY(-20px);
}
100% {
transform: translateY(0px);
}
}