Pure CSS Sailboat and Clouds
How do I make an pure css sailboat and clouds?
Sailboat (yawl), clouds, and background landscape made with pure CSS. What is a pure css sailboat and clouds? How do you make a pure css sailboat and clouds? This script and codes were developed by Gunnar Guddal on 06 January 2023, Friday.
Pure CSS Sailboat and Clouds - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Pure CSS Sailboat and Clouds </title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="background"> <div class="cloudone"></div> <div class="cloudtwo"></div> <div class="land"></div> <div class="shape"></div>
</div>
<!---Created using Codepen.io, Clippy from bennettfeely.com, and my own CSS'ing.--->
</body>
</html>
Pure CSS Sailboat and Clouds - Script Codes CSS Codes
.background { position: absolute; top: 0; left: 0; right: 0; bottom: 0; text-align: center; box-sizing: border-box; background: #0cc; overflow: hidden;
}
.shape { position: absolute; display: inline-block; height: 200px; width: 200px; left: 10%; top: 60px; background: #ff5d89; transition: 0.3s all ease; -webkit-animation: moveboat 50s infinite; /* Chrome, Safari, Opera */ animation: moveboat 50s infinite; -webkit-clip-path: polygon(92% 100%, 100% 90%, 71% 6%, 75% 85%, 100% 90%, 70% 90%, 70% 0, 24% 92%, 63% 90%, 17% 89%, 17% 50%, 0 90%, 11% 90%, 23% 100%); clip-path: polygon(92% 100%, 100% 90%, 71% 6%, 75% 85%, 100% 90%, 70% 90%, 70% 0, 24% 92%, 63% 90%, 17% 89%, 17% 50%, 0 90%, 11% 90%, 23% 100%); transition: .3s all ease;
}
.cloudone { position: absolute; display: inline-block; height: 60px; width: 200px; left: 0; top: 18px; background: #fff; -webkit-animation: movecloudone 50s infinite; -webkit-clip-path: polygon(90% 100%, 55% 44%, 44% 60%, 35% 29%, 22% 18%, 15% 69%, 26% 100%); clip-path: polygon(90% 100%, 55% 44%, 44% 60%, 35% 29%, 22% 18%, 15% 69%, 26% 100%);
}
.cloudtwo { position: absolute; display: inline-block; height: 80px; width: 220px; left: 100%; top: 22px; background: #fff; -webkit-animation: movecloudtwo 50s infinite; -webkit-clip-path: polygon(90% 100%, 55% 44%, 44% 60%, 35% 29%, 22% 18%, 15% 69%, 26% 100%);
}
.land { position: absolute; display: inline-block; height: 150px; width: 200%; left: 110%; top: 70px; background: #afa; -webkit-animation: moveland 50s infinite; animation: moveland 50s infinite; -webkit-clip-path: polygon(100% 100%, 0 100%, 0 50%, 11% 0, 14% 19%, 19% 9%, 33% 48%, 39% 35%, 49% 49%, 60% 32%, 66% 52%, 77% 66%, 88% 63%, 100% 52%); clip-path: polygon(100% 100%, 0 100%, 0 50%, 11% 0, 14% 19%, 19% 9%, 33% 48%, 39% 35%, 49% 49%, 60% 32%, 66% 52%, 77% 66%, 88% 63%, 100% 52%);
}
.background:hover .shape { -webkit-clip-path: polygon(50% 100%, 80% 75%, 99% 40%, 100% 25%, 90% 10%, 75% 4%, 60% 10%, 50% 24%, 40% 10%, 25% 4%, 10% 10%, 0 25%, 1% 40%, 20% 75%); clip-path: polygon(50% 100%, 80% 75%, 99% 40%, 100% 25%, 90% 10%, 75% 4%, 60% 10%, 50% 24%, 40% 10%, 25% 4%, 10% 10%, 0 25%, 1% 40%, 20% 75%); animation: heart 1s infinite; left: 40%;
}
@-webkit-keyframes moveboat { 0% { left: 10% } 100% { left: 90%; }
}
@keyframes moveboat { 0% { left: 10%; } 100% { left: 90%; }
}
@-webkit-keyframes moveland { 0% { left: 0% } 100% { left: -100%; }
}
@keyframes moveland { 0% { left: 0%; } 100% { left: -100%; }
}
@-webkit-keyframes movecloudone { 0% { left: 100% } 100% { left: -500px; }
}
@keyframes movecloudone { 0% { left: 100%; } 100% { left: -500px; }
}
@-webkit-keyframes movecloudtwo { 0% { left: 50% } 100% { left: -50px; }
}
@keyframes movecloudtwo { 0% { left: 50%; } 100% { left: -50px; }
}
@-webkit-keyframes heart { 0% { height: 200px; width: 200px; } 50% { height: 210px; width: 210px; } 100% { height: 200px; width: 200px; }
}
@keyframes heart { 0% { height: 200px; width: 200px; } 50% { height: 210px; width: 210px; } 100% { height: 200px; width: 200px; }
}
Developer | Gunnar Guddal |
Username | thegunnar |
Uploaded | January 06, 2023 |
Rating | 3.5 |
Size | 2,201 Kb |
Views | 8,096 |
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 |
Landing Page 1.1 | 2,558 Kb |
Marketplace - Home | 5,412 Kb |
Classic Soup Landing Page | 3,178 Kb |
Simple Landing Page 1.1 | 3,295 Kb |
Neon Signs | 2,017 Kb |
Video Landing Page Skeleton | 5,041 Kb |
Pure CSS Clipping Shape | 1,962 Kb |
Marketplace - Recipes | 5,466 Kb |
Social Feed From Unordered List | 1,812 Kb |
Marketplace - Products | 5,312 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 |
Lecture 1 | Law | 0 Kb |
Elephants Full screen site | Orrinward | 3,981 Kb |
FreeCodeCamp - Simon Game | Ivhed | 8,481 Kb |
Portfolio Page | HuffmanJ25 | 5,240 Kb |
Wikipedia API | Coderpilot | 2,802 Kb |
STIKHOI | Denmch | 7,122 Kb |
Hoi hoi | JohnTheCat | 7,248 Kb |
A Pen by Bryan Rojas | Bryanrojas | 1,873 Kb |
Rain Landing in a Pond | Edball | 3,009 Kb |
Portfolio Landing Page | FDfranklin | 3,585 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!