Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>Document</title>
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css">
- <style>
- *{
- box-sizing: border-box;
- }
- html, body {
- align-items: center;
- background: gold;
- display: flex;
- justify-content: center;
- margin: 0;
- min-height: 100%;
- padding: 0;
- width: 100%;
- }
- div {
- background-color: firebrick;
- height: 100px;
- width: 100px;
- animation: rollIn 2s infinite;
- }
- p{
- font-size:32px;
- font-weight:bold;
- animation: fadeInDown 1s 1;
- color:firebrick;
- }
- </style>
- </head>
- <body>
- <div></div>
- <p>Animated text</p>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement