-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
44 lines (39 loc) · 806 Bytes
/
style.css
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
body{
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
#preSourceCode{
position: absolute;
left:10px;
top:10px;
bottom:10px;
right:50%;
z-index:1;
margin: 0;
overflow: hidden;
font-size: 100%;
}
.hljs{
background-color: rgba(255,255,255,0) !important;
}
#scroll-container {
border: 3px solid black;
border-radius: 5px;
height: 100px;
overflow: hidden;
}
#sourceCode {
overflow: hidden;
transform: translateY(10%);
opacity:0;
animation: my-animation 30s linear infinite;
}
@keyframes my-animation {
0% {transform: translateY(10%);opacity: 0;}
25% {opacity: 1;}
50% {}
75% {opacity: 1;}
100% {transform: translateY(-100%);opacity: 0;}
}