Hexagon v2
How do I make an hexagon v2?
Hexagon shape using rotated elements. This was copied pretty blatantly from builtbybuffalo.com. I just wanted to see it unobstructed. (Check theirs out because it's implemented very nicely). What is a hexagon v2? How do you make a hexagon v2? This script and codes were developed by Patrick on 21 November 2022, Monday.
Hexagon v2 - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Hexagon v2</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <a href="#"> <div class="m">Pa</div> <div class="l"></div> <div class="r"></div>
</a> <script src="js/index.js"></script>
</body>
</html>
Hexagon v2 - Script Codes CSS Codes
* { box-siding: border-box; }
html { /*height: 100%; border: 20px solid #fff;*/ } body { margin: 100px; font-family: helvetica, sans-serif; }
a { display: inline-block; position: relative; width: 190px; height: 110px; color: #fff; text-decoration: none; background: salmon; } a .m, a .l, a .r { -webkit-transition: background .3s; transition: background: .3s; }
.m, .l, .r { width: 190px; height: 110px; position: absolute; background: tan; } .m { line-height: 110px; text-align: center; font-size: 100px; font-weight: bold; letter-spacing: -.05em; color: rgba(255,255,255,.3); } .l { z-index: -1; -webkit-transform: rotate(60deg); transform: rotate(60deg); } .r { z-index: -1; -webkit-transform: rotate(-60deg); -webkit-transform: rotate(-60deg); }
a:hover .m,
a:hover .l,
a:hover .r { background: lightBlue; }
Hexagon v2 - Script Codes JS Codes
// changing width/height of interior div's results in other shapes
Developer | Patrick |
Username | hinducows |
Uploaded | November 21, 2022 |
Rating | 3 |
Size | 2,010 Kb |
Views | 10,120 |
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 |
Arrow Navigation | 1,973 Kb |
CSS Filters | 1,942 Kb |
Flat UI Element | 2,670 Kb |
3D Transforms | 1,704 Kb |
Overlay Drop Description | 2,763 Kb |
Item Display | 1,872 Kb |
Simple Button | 1,684 Kb |
3D Transforms Flip | 2,083 Kb |
Menu Overlay | 4,302 Kb |
Fixed Scrolling Backgrounds | 1,749 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 |
SVG Circle Progress | JMChristensen | 3,368 Kb |
Resize image | Happyhj | 1,892 Kb |
Donald Trump - The New Yorker | Agbales | 2,502 Kb |
SnappySnippet Test | Elmsoftware | 8,385 Kb |
Header Line Issue | Charlie-volpe | 1,768 Kb |
Horizontal Navigation with Floats | Gymratpacks | 5,403 Kb |
Marching Squares Visualized | Sakri | 7,074 Kb |
Price table | Serluk | 5,928 Kb |
Intake Form Page 2 | Ijantje | 4,983 Kb |
Animated Slide Hamburger Mobile Menu | BJack | 2,247 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!