Origami boat

Developer
Size
3,030 Kb
Views
6,072

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 Previews

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); }
}
Origami boat - Script Codes
Origami boat - Script Codes
Home Page Home
Developer Teo Dragovic
Username teodragovic
Uploaded January 05, 2023
Rating 3
Size 3,030 Kb
Views 6,072
Do you need developer help for Origami boat?

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!

Teo Dragovic (teodragovic) Script Codes
Create amazing blog posts with AI!

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!