Skip to content

Instantly share code, notes, and snippets.

@Alkimisti
Created January 22, 2021 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Alkimisti/e1fcb215dabff58d5728e26ff0ca44b3 to your computer and use it in GitHub Desktop.
Save Alkimisti/e1fcb215dabff58d5728e26ff0ca44b3 to your computer and use it in GitHub Desktop.
<!doctype html>
<html lang="en">
<head>
<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">
<title>Document</title>
<style>
@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;
}
</style>
</head>
<body>
<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
laborum.</p></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment