Rounded Triangle
How do I make an rounded triangle?
What is a rounded triangle? How do you make a rounded triangle? This script and codes were developed by John Heiner on 14 November 2022, Monday.
Rounded Triangle - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Rounded Triangle</title> <script src="https://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class='triangle'></div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>
Rounded Triangle - Script Codes CSS Codes
.triangle,
.triangle:before,
.triangle:after { width: 5em; height: 5em; position: relative; background: orange; border-top-right-radius: 30%;
}
.triangle { top: 50%; left: 50%; position: absolute; -moz-transform: translateY(-50%) translateX(-50%); -ms-transform: translateY(-50%) translateX(-50%); -webkit-transform: translateY(-50%) translateX(-50%); transform: translateY(-50%) translateX(-50%); transform: rotate(-60deg) skewX(-30deg) scale(1, 0.866);
}
.triangle:before, .triangle:after { content: ''; position: absolute;
}
.triangle:before { transform: rotate(-135deg) skewX(-45deg) scale(1.414, 0.707) translate(0, -50%);
}
.triangle:after { transform: rotate(135deg) skewY(-45deg) scale(0.707, 1.414) translate(50%);
}
Developer | John Heiner |
Username | johnheiner |
Uploaded | November 14, 2022 |
Rating | 3 |
Size | 2,124 Kb |
Views | 32,384 |
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 |
Bouncy Box | 3,423 Kb |
Canvas Mask Page Intro Animation | 3,835 Kb |
Social Icon System | 8,772 Kb |
SVG line hover | 1,648 Kb |
Floating Labels | 3,880 Kb |
Unboxed Technology Footer Animation | 8,397 Kb |
Animated River Depth measurement | 5,247 Kb |
Some Button Styles | 5,713 Kb |
Loading Animation | 2,364 Kb |
Breaking Lists at specific points without floats. | 1,962 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 |
Ionic - Wordpress REST API starter | Superpikar | 2,961 Kb |
Popover Example | Seanboom | 2,429 Kb |
Draggable directive | YahyaKacem | 2,277 Kb |
Fullscreen Parallax | Bassta | 3,313 Kb |
After America | Jonathangarner | 2,686 Kb |
Flat buttons for Eliassen.com | Kdooley89 | 1,737 Kb |
Scroll using CSS | Casperovic | 2,159 Kb |
Using Flickr API | MoyArt | 6,761 Kb |
Light Switch | Bartuc | 4,933 Kb |
Filtering with shuffle.js | Deyand | 2,712 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!