Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <!-- comment -->
- <title>CSS Anim ch 5</title>
- <meta charset="UTF-8"> <!-- Required to show emojis -->
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="keywords" content="HTML, CSS, Javascript">
- <meta name="description" content="Learn HTML">
- <meta name="author" content="[email protected]">
- <!-- link rel="stylesheet" href="style1.css" -->
- <style>
- * {
- box-sizing: border-box;
- margin: 8px;
- }
- body {
- font-family: "Roboto", sans-serif;
- background-color: rgb(209, 207, 207);
- }
- .heading {
- /* Do the transition over time. */
- transition-property: font-size;
- transition-duration: 0.5s;
- transition-delay: 1s;
- transition-timing-function: ease-in;
- font-size: 20px;
- }
- .heading:hover {
- color: rgb(9, 107, 20);
- font-size: 28px;
- letter-spacing: 5px;
- /* border-top: 4px dotted red; */
- text-shadow: 5px 5px 3px rgb(228, 242, 26);
- }
- </style>
- </head>
- <body>
- <h1 class="heading">Hover over me</h1>
- <div>VSC v1.119 on Windows 11 using Live Server extension in VSC. So I can test the web page in Live Server in another browser window.</div>
- </body>
- <script>
- </script>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment