Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <!DOCTYPE html>
<html>
<head>
  <meta charset="utf-utf-8">
    <title>Prime Performance | Webseite</title>
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons"
      rel="stylesheet">
    <link rel="stylesheet" href="menu2.css">
     <link href="Main.css" rel="stylesheet"/>
    <link rel="stylesheet" type="text/css" href="css/style.css">
    <script src="./honey-navi/honey-navi.js"></script>
 <style>


</style>

    </head>


<body>


        
        <header>
            <img class="header-img" alt="Logo" src="img/banner3.png"  height="152"; width="100%"; />
            </header>
 <!--HOME-MENU----------------------------->

    <nav>
			<h2>Navigation</h2>
			<ul>
				<li><a href="#home">Home</a></li>
				<li><a href="#about">Über uns</a></li>
				<li><a href="#projects">Projekte</a></li>
				<li><a href="#references">Referenzen</a></li>
				<li><a href="#contact">Kontakt / Impressum</a></li>
				<li><a href="#privacy">Datenschutzerklärung</a></li>
			</ul>
		</nav>
    
<!--ErsteSeite----------------------------->

    <section id="ErsteSeite">

        </section>
<!--SERVICE----------------------------->
    
    
<section id="ServiceSeite">
    <h3>Service</h3>
    </section>
    
<!--FOOTER----------------------------->
    
<footer>
  <p>
    &copy; 2018-2019 Prime Performance
  </p>
</footer>
    </body>
    </html>
              
            
!

CSS

              
                nav.honey {
	border-bottom: 70px solid #fd4;
	border-left: 40px solid transparent;
	border-right: 40px solid transparent;
	height: 0;
	position: fixed;
	width: 80px;
    margin-left: auto;
margin-right: auto;
top: 50%;
left: 50%;
    
}

nav.honey:after {
	border-left: 40px solid transparent;
	border-right: 40px solid transparent;
	border-top: 70px solid #fd4;
	content: '';
	height: 0;
	left: -40px;
	position: absolute;
	top: 70px;
	width: 80px;
}

nav.honey button {
	background: transparent;
	border: none;
	font-size: 400%;
	height: auto;
	margin-top: 30px;
	padding: 0;
	position: absolute;
	transition: 1s;
	width: 100%;
	z-index: 1;
}

nav.honey button:active,
nav.honey button:focus {
	color: white;
	outline: none !important;
	text-shadow: 0 0 1px black, 0 0 15px white;
}

nav.honey button.open {
	transform: rotate(45deg);
}

nav.honey ul {
	list-style-type: none;
}

nav.honey ul li {
	border-bottom: 70px solid #000;
	border-left: 40px solid transparent;
	border-right: 40px solid transparent;
	display: block;
	height: 0;
	left: -40px;
	position: absolute;
	top: 0;
	transition: 1s;
	vertical-align: bottom;
	width: 80px;
	z-index: -10;
}

nav.honey ul.open li {
	z-index: 0;
}

nav.honey ul li:before {
	border-top: 70px solid #000;
	border-left: 40px solid transparent;
	border-right: 40px solid transparent;
	content: '';
	height: 0;
	left: -40px;
	margin: 0;
	position: absolute;
	top: 70px;
	width: 80px;
}

nav.honey ul.open li:nth-of-type(1) {
	transform: translateY(-160px);
}

nav.honey ul.open li:nth-of-type(2) {
	transform: translate(140px, -80px);
}

nav.honey ul.open li:nth-of-type(3) {
	transform: translate(140px, 80px);
}

nav.honey ul.open li:nth-of-type(4) {
	transform: translateY(160px);
}

nav.honey ul.open li:nth-of-type(5) {
	transform: translate(-140px, 80px);
}

nav.honey ul.open li:nth-of-type(6) {
	transform: translate(-140px, -80px);
}

nav.honey ul li a {
	background: #fd4 url(icons/generic.svg) 0.2em 0.2em no-repeat;
	background-size: 3em;
	border-radius: 0.5em;
	box-shadow: 0 0 5px #fd4;
	display: block;
	height: 0;
	left: calc((80px - 3.4em)/2);
	padding: 3.4em 0 0 3.4em;
	overflow: hidden;
	position: absolute;
	top: calc((140px - 3.4em)/2);
	transition: 0.3s;
	width: 0;
}

nav.honey ul li a:focus,
nav.honey ul li a:hover {
	background-color: white;
	box-shadow: 0 0 15px white;
	background-size: 4em;
	left: calc((80px - 4.4em)/2);
	padding: 4.4em 0 0 4.4em;
	top: calc((140px - 4.4em)/2);
}

nav.honey ul li a.about {
	background-image: url(https://image.flaticon.com/icons/svg/15/15659.svg);
}

nav.honey ul li a.contact {
	background-image: url(https://image.flaticon.com/icons/svg/1034/1034153.svg);
}

nav.honey ul li a.home {
	background-image: url(https://image.flaticon.com/icons/svg/149/149412.svg);
}

nav.honey ul li a.privacy {
	background-image: url(https://image.flaticon.com/icons/svg/694/694977.svg);
}

nav.honey ul li a.projects {
	background-image: url(https://image.flaticon.com/icons/svg/1649/1649055.svg);
}

nav.honey ul li a.references {
	background-image: url(https://image.flaticon.com/icons/svg/85/85839.svg);
}

              
            
!

JS

              
                /**
 * Honeycomb Popup Navigation
 *
 * inspired by https://www.youtube.com/watch?v=RLCKShRRwG0
 *
 * SOFTWARE LICENSE: LGPL
 * (C) 2011 Felix Riesterer
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 *
 *@author Felix Riesterer <https://felix-riesterer.de>
 */
document.addEventListener("DOMContentLoaded", function () {
	var base = document
			.querySelector('script[src$="honey-navi/honey-navi.js"]')
			.getAttribute("src")
			.replace(/[^\/]+$/, ""),
		honeyNavis = [],
		// supported icons
		icons = [
			"about",
			"contact",
			"home",
			"privacy",
			"projects",
			"references"
		];

	function makeHoneyNavi (navi) {
		var t = this;

		var button = null,
			links = [],
			list;

		// find links inside <navi>
		Array.prototype.slice.call(
			navi.querySelectorAll("a[href]")
		).forEach(function (a) {
			links.push(a);
		});

		if (links.length) {

			// rebuild DOM inside <navi>
			while (navi.lastChild) {
				navi.removeChild(navi.lastChild);
			}

			// button for toggling
			button = navi.appendChild(document.createElement("button"));
			button.appendChild(document.createTextNode("+"));

			list = navi.appendChild(document.createElement("ul"));

			links.forEach(function (a) {

				list.appendChild(document.createElement("li"));
				list.lastChild.appendChild(a);

				// what is link about?
				icons.forEach(function (i) {
					var r = new RegExp(i, "i");

					if (a.textContent.match(r) || a.href.match(r)) {
						a.className = i;
					}
				});
			});

			navi.className = "honey";

			navi.addEventListener("click", function (ev) {
				var target = ev.target || ev.srcElement,
					ul = navi.querySelector("ul");

				if (ul && target.tagName && !target.tagName.match(/^a$/i)) {

					[ul, button].forEach(function (n) {
						n.className = (
							n.className
							? ""
							: "open"
						);
					});
				}
			});
		}
	};

	// setup
	Array.prototype.slice.call(
		document.querySelectorAll("body nav")
	).forEach(function (navi) {
		honeyNavis.push(navi);
	});

	if (honeyNavis.length) {

		// load CSS
		var l = document.createElement("link");
		l.href = base + "honey-navi.css";
		l.rel = "stylesheet";
		l.type = "text/css";

		document.querySelector("html > head").appendChild(l);

		// convert navis
		honeyNavis.forEach(makeHoneyNavi);
	}
});
              
            
!
999px

Console