scrimba
Note at 0:46
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Note at 0:46
AboutCommentsNotes
Note at 0:46
Expand for more info
index.css
run
preview
console
html, body {
margin: 0;
padding: 0;
}

:root {
--bg-word: #5134ff;
}

.container {
display: flex;
justify-content: center;
margin-top: 100px;
}

h1::after {
display: inline-block;
text-align: center;
border-radius: 10px;
color: white;
animation: textAnimation 5s infinite linear;
background: var(--bg-word);
}


@keyframes textAnimation {
0% {
content: " opossums";
background: var(--bg-word);
color: white;
margin: 10px;
padding: 10px;
}

25% {
content: " coyotes";
background: var(--bg-word);
color: white;
margin: 10px;
padding: 10px;
}

45% {
content: " wombats";
background: var(--bg-word);
color: white;
margin: 10px;
padding: 10px;
}

65% {
content: " foxes";
background: var(--bg-word);
color: white;
margin: 10px;
padding: 10px;
}

85% {
content: " racoons";
background: var(--bg-word);
color: white;
margin: 10px;
padding: 10px;
}

100% {
content: " axolotles";
background: var(--bg-word);
color: white;
margin: 10px;
padding: 10px;
}
}



Console
/index.html
LIVE