Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Document</title>
- <style>
- body {
- background-color: rgb(48, 48, 48);
- padding: 50px;
- }
- .title {
- color: white;
- text-transform: uppercase;
- line-height: 40px;
- font-family: Arial, Helvetica, sans-serif;
- font-weight: lighter;
- }
- .title-content {
- display: block;
- opacity: 0;
- animation: revealText .5s forwards;
- }
- .title-second {
- animation-delay: .17s;
- }
- .title-third {
- animation-delay: .25s;
- }
- .title-fourth {
- animation-delay: .325s;
- }
- @keyframes revealText {
- from {
- transform: translateY(20px);
- }
- to {
- opacity: 1;
- transform: none;
- }
- }
- </style>
- </head>
- <body>
- <h1 class="title">
- <span class="title-content">Lear</span>
- <span class="title-content title-second">keep learning.</span>
- <span class="title-content title-third">You will always</span>
- <span class="title-content title-fourth">regret if you don't.</span>
- </h1>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement