„css/skeleton-auto.css“ ändern
This commit is contained in:
parent
7ba98732d9
commit
e9207ffa3d
@ -284,23 +284,28 @@ hr {
|
|||||||
.animate-zoom-6 {animation:animatezoom 1.6s}@keyframes animatezoom{from{transform:scale(0)} to{transform:scale(1)}}
|
.animate-zoom-6 {animation:animatezoom 1.6s}@keyframes animatezoom{from{transform:scale(0)} to{transform:scale(1)}}
|
||||||
.animate-zoom-7 {animation:animatezoom 1.8s}@keyframes animatezoom{from{transform:scale(0)} to{transform:scale(1)}}
|
.animate-zoom-7 {animation:animatezoom 1.8s}@keyframes animatezoom{from{transform:scale(0)} to{transform:scale(1)}}
|
||||||
|
|
||||||
|
/* DEMO-SPECIFIC STYLES */
|
||||||
.typed {
|
.typed {
|
||||||
animation: typing 2s steps(22), blink .5s step-end infinite alternate;
|
color: #fff;
|
||||||
white-space: nowrap;
|
|
||||||
overflow: hidden;
|
|
||||||
border-right: 3px solid;
|
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
font-size: 2em;
|
overflow: hidden; /* Ensures the content is not revealed until the animation */
|
||||||
|
border-right: .15em solid orange; /* The typwriter cursor */
|
||||||
|
white-space: nowrap; /* Keeps the content on a single line */
|
||||||
|
margin: 0 auto; /* Gives that scrolling effect as the typing happens */
|
||||||
|
letter-spacing: .15em; /* Adjust as needed */
|
||||||
|
animation:
|
||||||
|
typing 3.5s steps(30, end),
|
||||||
|
blink-caret .5s step-end infinite;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* The typing effect */
|
||||||
@keyframes typing {
|
@keyframes typing {
|
||||||
from {
|
from { width: 0 }
|
||||||
width: 0
|
to { width: 100% }
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes blink {
|
/* The typewriter cursor effect */
|
||||||
50% {
|
@keyframes blink-caret {
|
||||||
border-color: transparent
|
from, to { border-color: transparent }
|
||||||
}
|
50% { border-color: orange }
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user