Full-page Animation Project - Part 3
How do I make an full-page animation project - part 3?
What is a full-page animation project - part 3? How do you make a full-page animation project - part 3? This script and codes were developed by Fezzik on 25 November 2022, Friday.
Full-page Animation Project - Part 3 - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Full-page Animation Project - Part 3</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <!DOCTYPE html>
<html>
<head> <title>Tugboat Animation</title> <link rel="stylesheet" href="main.css"> <link rel="stylesheet" href="animation.css">
</head>
<body> <h1>Full-Page Animation Project - Part 3</h1> <div class="boat"> <img src="https://treehouse-code-samples.s3.amazonaws.com/CSS-DD/codepen/stage-12/boat.png" alt="tugboat"" alt="tugboat"> </div> <img class="mike" src="https://treehouse-code-samples.s3.amazonaws.com/CSS-DD/codepen/stage-12/mike.png">
</body>
</html>
</body>
</html>
Full-page Animation Project - Part 3 - Script Codes CSS Codes
body { background: #F0FCFF url('https://treehouse-code-samples.s3.amazonaws.com/CSS-DD/codepen/stage-12/island.png') repeat-x 100% -460px; background-size: 780px;
}
h1 { font-family: sans-serif; text-align: center; }
.boat { width: 380px; position: absolute; top: 40%; left: 35%;
}
.boat img { width: 100%;
}
.boat::after { content: ""; display: block; width: 120px; height: 120px; background: url('https://treehouse-code-samples.s3.amazonaws.com/CSS-DD/codepen/stage-12/steam.png') no-repeat; background-size: 120px; position: absolute; top: -25%; left: 5%; opacity: 0;
}
.mike { width: 180px; position: absolute; top: 55%; left: -15%; -webkit-transform: rotateZ(-5deg);
}
/* Animations - WebKit only
------------------------------------------ */
.boat { -webkit-animation: rock-boat 3s ease-in-out infinite;
}
.boat::after { -webkit-animation: steam 4s 2s infinite;
}
body { -webkit-animation: bg-move 8s ease-out forwards; /* -webkit-animation-play-state: paused; */
}
.mike { -webkit-animation: mike-move 6s 6s ease-out forwards, mike-float 3.2s infinite;
}
/* Keyframes - WebKit only
------------------------------------------ */
@-webkit-keyframes rock-boat { 50% { -webkit-transform: rotate(-5deg) translateY(-10px); }
}
@-webkit-keyframes steam { 40%, 60% { opacity: 1; } 100% { -webkit-transform: translate(-15%, -35%) rotateZ(20deg); }
}
@-webkit-keyframes bg-move { 0% { background-position: 100% -560px; } 100% { background-position: -350% -460px; }
}
@-webkit-keyframes mike-move { 100% { left: 12%; }
}
@-webkit-keyframes mike-float { 50% { -webkit-transform: rotateZ(5deg); translateY(-5px); }
}
Developer | Fezzik |
Username | Fezzik |
Uploaded | November 25, 2022 |
Rating | 3 |
Size | 2,111 Kb |
Views | 12,144 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Floats and Micro Clearfix Hack | 2,159 Kb |
Box Shadows | 1,604 Kb |
Print Stylesheets | 6,153 Kb |
Full-page Animation Project - Part 1 | 2,178 Kb |
Transitions - Part 2 | 2,009 Kb |
3D Transforms - Part 1 | 2,176 Kb |
3D Transforms - Part 2 | 2,529 Kb |
Keyframe Rules and Animation Properties | 1,987 Kb |
Flexbox - Part 1 | 1,912 Kb |
Flexbox - Part 2 | 2,363 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Twitch Live Channels | Inkblotty | 4,956 Kb |
Portfolio Page | HuffmanJ25 | 5,240 Kb |
Jstam.com Home Page | Jstam | 10,558 Kb |
Medium Menu | Lucasmotta | 3,923 Kb |
React Markdown Previewer | C0d0er | 3,190 Kb |
Starting out with Ember.JS | Cfleschhut | 4,808 Kb |
Simple animated hover effect | Pobee-norris | 3,044 Kb |
Foundation 5 Menu - Accessibility | Xporter | 1,999 Kb |
A form arranged using automatic placement. | Vikasford | 2,103 Kb |
React JS Movie Info App | MTushar | 4,870 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!