mirror of
https://github.com/zyqunix/tools.git
synced 2025-07-06 14:30:31 +02:00
a
This commit is contained in:
parent
ddd3f29e26
commit
edc8589d1d
3 changed files with 60 additions and 6 deletions
40
scrolling test/style.css
Normal file
40
scrolling test/style.css
Normal file
|
@ -0,0 +1,40 @@
|
|||
body {
|
||||
background-color: #202020;
|
||||
color: white;
|
||||
margin: 0;
|
||||
font-size: large;
|
||||
font-family: monospace;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
marquee {
|
||||
padding: 20px 0px 20px 0px;
|
||||
animation: transparent-edges infinite linear 0s;
|
||||
}
|
||||
|
||||
@keyframes transparent-edges {
|
||||
0% {
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
10% {
|
||||
background-color: rgba(0, 0, 0, 1);
|
||||
}
|
||||
|
||||
90% {
|
||||
background-color: rgba(0, 0, 0, 1);
|
||||
}
|
||||
|
||||
100% {
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
.fun {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
max-width: 300px;
|
||||
padding: 30px 60px 30px 60px;
|
||||
background-color: #404040;
|
||||
animation: transparent-edges 5s infinite;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue