mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-11 13:19:01 +08:00
25 lines
337 B
CSS
25 lines
337 B
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.input {
|
|
transition: border 0.2s ease-in-out;
|
|
min-width: 280px
|
|
}
|
|
|
|
.input:focus + .label,
|
|
.input:active + .label,
|
|
.input.filled + .label {
|
|
font-size: .75rem;
|
|
transition: all 0.2s ease-out;
|
|
top: -0.3rem;
|
|
color: #6b7280;
|
|
}
|
|
|
|
.label {
|
|
transition: all 0.2s ease-out;
|
|
top: 0.4rem;
|
|
left: 0;
|
|
}
|