Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<!doctype html>
<html lang="en">
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
@keyframes shembulli {
0% {
background-color: red;
color: yellow;
25% {
background-color: yellow;
color: blue;
50% {
background-color: blue;
color: yellow;
100% {
background-color: green;
color: white;
#teksti {
width: 400px;
height: 250px;
background-color: green;
padding: 2em;
color: white;
animation-name: shembulli;
animation-duration: 12s;
<div id="teksti"><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
et dolore magna aliqua.</p>
<p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat.</p>
<p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
pariatur. </p>
<p>Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment