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 {
from {
background-color: yellow;
width: 200px;
to {
background-color: lightseagreen;
width: 400px;
#teksti {
width: 400px;
animation-name: shembulli;
animation-duration: 5s;
padding: 1em;
background-color: lightseagreen;
<div id="teksti"><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
et dolore magna aliqua.</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment