Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

Save Automatically?

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <!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>
            
          
!
            
              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);
}

            
          
!
            
              /**
 * 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
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console