mirror of https://github.com/kremalicious/blog.git
44 lines
617 B
CSS
44 lines
617 B
CSS
.web3 {
|
|
min-height: 77px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.web3:empty {
|
|
display: none;
|
|
}
|
|
|
|
.message {
|
|
font-size: var(--font-size-small);
|
|
position: relative;
|
|
}
|
|
|
|
.message::after {
|
|
overflow: hidden;
|
|
display: inline-block;
|
|
vertical-align: bottom;
|
|
animation: ellipsis steps(4, end) 1s infinite;
|
|
/* ascii code for the ellipsis character */
|
|
content: '\2026';
|
|
width: 0;
|
|
position: absolute;
|
|
left: 100%;
|
|
bottom: 0;
|
|
}
|
|
|
|
.success {
|
|
composes: message;
|
|
color: green;
|
|
}
|
|
|
|
.success::after {
|
|
display: none;
|
|
}
|
|
|
|
@keyframes ellipsis {
|
|
to {
|
|
width: 0.75rem;
|
|
}
|
|
}
|