mirror of
https://github.com/hanxi/xiaomusic.git
synced 2025-12-07 15:02:55 +08:00
80 lines
1.1 KiB
CSS
80 lines
1.1 KiB
CSS
.button {
|
|
line-height: 50px;
|
|
font-size: 14px;
|
|
}
|
|
button, .button {
|
|
margin: 10px;
|
|
width: 100px;
|
|
height: 50px;
|
|
border: none;
|
|
color: white;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
border-radius: 10px;
|
|
background-color: #008CBA;
|
|
}
|
|
button:active, .button:active {
|
|
font-weight:bold;
|
|
background-color: #007CBA;
|
|
transform: translateY(2px);
|
|
}
|
|
label {
|
|
margin-left: 10px;
|
|
width: 300px;
|
|
}
|
|
input,select {
|
|
margin: 10px;
|
|
width: 300px;
|
|
height: 40px;
|
|
}
|
|
|
|
.container{
|
|
width: 280px;
|
|
overflow: hidden;
|
|
display: inline-block;
|
|
}
|
|
@keyframes text-scroll {
|
|
0% {
|
|
left: 100%;
|
|
}
|
|
25% {
|
|
left: 50%;
|
|
}
|
|
50% {
|
|
left: 0%;
|
|
}
|
|
75% {
|
|
left: -50%;
|
|
}
|
|
100% {
|
|
left: -100%;
|
|
}
|
|
}
|
|
.text {
|
|
white-space: nowrap;
|
|
font-weight: bold;
|
|
position: relative;
|
|
animation: text-scroll 10s linear infinite;
|
|
}
|
|
|
|
.rows {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-left: 20px;
|
|
margin-right: 20px;
|
|
}
|
|
|
|
footer {
|
|
bottom: 0;
|
|
width: 100%;
|
|
text-align: center;
|
|
padding: 10px 0;
|
|
}
|
|
|
|
textarea{
|
|
margin: 10px;
|
|
width: 300px;
|
|
height: 200px;
|
|
}
|