Polygon Logo in CSS
How do I make an polygon logo in css?
I thought it would be cool to rebuild Polygon's logo as a CSS-only version.. What is a polygon logo in css? How do you make a polygon logo in css? This script and codes were developed by Kai Brueckers on 15 November 2022, Tuesday.
Polygon Logo in CSS - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Polygon Logo in CSS</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.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! */ @import url(https://fonts.googleapis.com/css?family=Open+Sans:400);
body { padding: 50px; background: #e7e7e2;
}
.polygon { background: #fff; width: 76px; height: 112px; padding: 30px; margin: 0 auto;
}
.polygon .flap { float: left; width: 38px; height: 38px;
}
.polygon .flap-1 { width: 0; height: 0; border-style: solid; border-width: 0 0 38px 38px; border-color: transparent transparent #210008 transparent;
}
.polygon .flap-2 { width: 0; height: 0; border-style: solid; border-width: 38px 0 0 38px; border-color: transparent transparent transparent #520019;
}
.polygon .flap-3 { width: 0; height: 0; border-style: solid; border-width: 0 38px 38px 0; border-color: transparent #a5003a transparent transparent;
}
.polygon .flap-4 { width: 0; height: 0; border-style: solid; border-width: 38px 38px 0 0; border-color: #7b0029 transparent transparent transparent;
}
.polygon .flap-5 { width: 0; height: 0; border-style: solid; border-width: 38px 0 0 38px; border-color: transparent transparent transparent #d6004a; margin-top: -38px;
}
.polygon .flap-6 { width: 0; height: 0; border-style: solid; border-width: 0 38px 38px 0; border-color: transparent #ff0052 transparent transparent;
}
.by { font-family: 'Open Sans', sans-serif; font-size: 12px; padding-top: 30px; color: #666666; text-align: center;
}
.by a { text-decoration: none; color: #666666; border-bottom: 1px solid #999999;
}
.by a:hover { color: #1a1a1a; border-bottom: 1px solid #4d4d4d;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class='polygon'> <div class='flap flap-1'></div> <div class='flap flap-2'></div> <div class='flap flap-3'></div> <div class='flap flap-4'></div> <div class='flap flap-5'></div> <div class='flap flap-6'></div>
</div>
<div class='by'> Logo by <a href='https://twitter.com/Polygon' target='_blank'>@Polygon</a> — Rebuilt in CSS by <a href='https://twitter.com/kaibrueckers' target='_blank'>@kaibrueckers</a>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>
Polygon Logo in CSS - Script Codes CSS Codes
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400);
body { padding: 50px; background: #e7e7e2;
}
.polygon { background: #fff; width: 76px; height: 112px; padding: 30px; margin: 0 auto;
}
.polygon .flap { float: left; width: 38px; height: 38px;
}
.polygon .flap-1 { width: 0; height: 0; border-style: solid; border-width: 0 0 38px 38px; border-color: transparent transparent #210008 transparent;
}
.polygon .flap-2 { width: 0; height: 0; border-style: solid; border-width: 38px 0 0 38px; border-color: transparent transparent transparent #520019;
}
.polygon .flap-3 { width: 0; height: 0; border-style: solid; border-width: 0 38px 38px 0; border-color: transparent #a5003a transparent transparent;
}
.polygon .flap-4 { width: 0; height: 0; border-style: solid; border-width: 38px 38px 0 0; border-color: #7b0029 transparent transparent transparent;
}
.polygon .flap-5 { width: 0; height: 0; border-style: solid; border-width: 38px 0 0 38px; border-color: transparent transparent transparent #d6004a; margin-top: -38px;
}
.polygon .flap-6 { width: 0; height: 0; border-style: solid; border-width: 0 38px 38px 0; border-color: transparent #ff0052 transparent transparent;
}
.by { font-family: 'Open Sans', sans-serif; font-size: 12px; padding-top: 30px; color: #666666; text-align: center;
}
.by a { text-decoration: none; color: #666666; border-bottom: 1px solid #999999;
}
.by a:hover { color: #1a1a1a; border-bottom: 1px solid #4d4d4d;
}
Developer | Kai Brueckers |
Username | kai |
Uploaded | November 15, 2022 |
Rating | 4 |
Size | 3,412 Kb |
Views | 18,216 |
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 |
Animated Logo for Herr Brueckers | 3,752 Kb |
Animated House of Cards Logo | 4,414 Kb |
PikaCSSu | 17,814 Kb |
Lauftagebu.ch | 4,483 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 |
Minimal Menu | Achudars | 3,430 Kb |
Another brick in the wall | Fivera | 1,955 Kb |
SnappySnippet Test | Elmsoftware | 8,385 Kb |
Promodoro | Bencarp | 1,712 Kb |
SVG Scalable Text | Said_FD | 1,451 Kb |
Sencha Touch 2.3.1 Basic Grid Example | Trozdol | 2,770 Kb |
Testing Code Pen | Jduprey | 1,468 Kb |
Page Transitions in Backbone | Mikefowler | 3,691 Kb |
Pure CSS Spinners | Jlong | 2,043 Kb |
Pure CSS Menu | Bronsrobin | 3,321 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!