Origami boat
How do I make an origami boat?
What is a origami boat? How do you make a origami boat? This script and codes were developed by Teo Dragovic on 05 January 2023, Thursday.
Origami boat - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Origami boat</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ body { margin: 200px;
}
.container { transform-style: preserve-3d; perspective: 5000px; position: relative; width: 282.84271px; height: 282.84271px; animation: rot 5s infinite linear; -webkit-animation: rot 5s infinite linear;
}
[class*='triangle-'] { position: absolute; bottom: 0;
}
.triangle-1 { width: 0; height: 0; border-color: transparent; border-style: solid; border-width: 141.42136px; border-bottom-color: rgba(200, 200, 200, 0.5); border-bottom-width: 141.42136px; transform-origin: 50% 100%; transform: rotateX(-90deg);
}
.triangle-2 { width: 0; height: 0; border-color: transparent; border-style: solid; border-width: 141.42136px; border-bottom-color: rgba(200, 200, 200, 0.5); border-bottom-width: 141.42136px; transform-origin: 50% 100%; transform: rotateX(90deg);
}
.triangle-3 { width: 0; height: 0; border-color: transparent; border-style: solid; border-width: 141.42136px; border-bottom-color: rgba(200, 200, 200, 0.5); border-bottom-width: 141.42136px;
}
.triangle-4 { width: 0; height: 0; border-color: transparent; border-style: solid; border-width: 200px; border-bottom-color: rgba(200, 200, 200, 0.5); border-bottom-width: 200px; transform-origin: 100% 50%; transform: rotateY(45deg); border-right: none; right: 0;
}
.triangle-5 { width: 0; height: 0; border-color: transparent; border-style: solid; border-width: 200px; border-bottom-color: rgba(200, 200, 200, 0.5); border-bottom-width: 200px; transform-origin: 100% 50%; transform: rotateY(-45deg); border-right: none; right: 0;
}
.triangle-6 { width: 0; height: 0; border-color: transparent; border-style: solid; border-width: 200px; border-bottom-color: rgba(200, 200, 200, 0.5); border-bottom-width: 200px; transform-origin: 0% 50%; transform: rotateY(-45deg); border-left: none;
}
.triangle-7 { width: 0; height: 0; border-color: transparent; border-style: solid; border-width: 200px; border-bottom-color: rgba(200, 200, 200, 0.5); border-bottom-width: 200px; transform-origin: 0% 50%; transform: rotateY(45deg); border-left: none;
}
@keyframes rot { from { transform: rotateX(-20deg) rotateY(0deg); } to { transform: rotateX(-20deg) rotateY(360deg); }
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="container"> <div class="triangle-1"></div> <div class="triangle-2"></div> <div class="triangle-3"></div> <div class="triangle-4"></div> <div class="triangle-5"></div> <div class="triangle-6"></div> <div class="triangle-7"></div>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>
Origami boat - Script Codes CSS Codes
body { margin: 200px;
}
.container { transform-style: preserve-3d; perspective: 5000px; position: relative; width: 282.84271px; height: 282.84271px; animation: rot 5s infinite linear; -webkit-animation: rot 5s infinite linear;
}
[class*='triangle-'] { position: absolute; bottom: 0;
}
.triangle-1 { width: 0; height: 0; border-color: transparent; border-style: solid; border-width: 141.42136px; border-bottom-color: rgba(200, 200, 200, 0.5); border-bottom-width: 141.42136px; transform-origin: 50% 100%; transform: rotateX(-90deg);
}
.triangle-2 { width: 0; height: 0; border-color: transparent; border-style: solid; border-width: 141.42136px; border-bottom-color: rgba(200, 200, 200, 0.5); border-bottom-width: 141.42136px; transform-origin: 50% 100%; transform: rotateX(90deg);
}
.triangle-3 { width: 0; height: 0; border-color: transparent; border-style: solid; border-width: 141.42136px; border-bottom-color: rgba(200, 200, 200, 0.5); border-bottom-width: 141.42136px;
}
.triangle-4 { width: 0; height: 0; border-color: transparent; border-style: solid; border-width: 200px; border-bottom-color: rgba(200, 200, 200, 0.5); border-bottom-width: 200px; transform-origin: 100% 50%; transform: rotateY(45deg); border-right: none; right: 0;
}
.triangle-5 { width: 0; height: 0; border-color: transparent; border-style: solid; border-width: 200px; border-bottom-color: rgba(200, 200, 200, 0.5); border-bottom-width: 200px; transform-origin: 100% 50%; transform: rotateY(-45deg); border-right: none; right: 0;
}
.triangle-6 { width: 0; height: 0; border-color: transparent; border-style: solid; border-width: 200px; border-bottom-color: rgba(200, 200, 200, 0.5); border-bottom-width: 200px; transform-origin: 0% 50%; transform: rotateY(-45deg); border-left: none;
}
.triangle-7 { width: 0; height: 0; border-color: transparent; border-style: solid; border-width: 200px; border-bottom-color: rgba(200, 200, 200, 0.5); border-bottom-width: 200px; transform-origin: 0% 50%; transform: rotateY(45deg); border-left: none;
}
@keyframes rot { from { transform: rotateX(-20deg) rotateY(0deg); } to { transform: rotateX(-20deg) rotateY(360deg); }
}
Developer | Teo Dragovic |
Username | teodragovic |
Uploaded | January 05, 2023 |
Rating | 3 |
Size | 3,030 Kb |
Views | 6,072 |
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 |
Cube thingy | 3,988 Kb |
Galaxy sky thingy | 5,556 Kb |
Dice | 4,311 Kb |
Client logo done in css | 2,273 Kb |
Perfect font size | 2,807 Kb |
A Pen by Teo Dragovic | 2,756 Kb |
Cube thingy, now fully functional | 3,833 Kb |
Annoying label thingy | 4,659 Kb |
Sticky sidebar thingy | 3,068 Kb |
Page load thingy | 3,146 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 |
Mosaic transition effect between two photos using jQuery | Stathisg | 2,518 Kb |
Popover Example | Seanboom | 2,429 Kb |
Underlined form fields | Mitchdot | 2,323 Kb |
Wikipedia API | Coderpilot | 2,802 Kb |
A Pen by Mike Otis | Mikeotis | 3,185 Kb |
Myprofile | SoufianeAbid | 2,451 Kb |
404 Error Page | WebSonick | 3,203 Kb |
The Fly | GianlucaGuarini | 3,405 Kb |
Pagepilling.js | Blossk | 6,554 Kb |
Halo 5 REQ Guide Bookmarklet | Cwacht | 3,993 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!