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">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    
    <title>Prime Performance | Webseite</title>
    
    <link rel="stylesheet" href="menu2.css">
    <link rel="stylesheet" href="menu2.css">
    
    <link href="https://fonts.googleapis.com/css?family=Roboto+Slab" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css?family=Roboto:500" rel="stylesheet">
    
    <script src="./honey-navi/honey-navi.js"></script>
 <style>


</style>

    </head>


<body>


        <section id="ErsteSeite">
        
            <img class="header-img" alt="HEADERIMG" src="img/banner3.png"  height="152"; width="100%";/>
             <div class="beeHive">
            <nav>
			<h2>Navigation</h2>
			<ul>
				<li><a href="#ErsteSeite">Home</a></li>
				<li><a href="#ServiceSeite">Über mich</a></li>
				<li><a href="#KontaktSeite">Projekte</a></li>
				<li><a href="#MapSeite">Referenzen</a></li>
				
                <li><a href="#AboutSeite">Kontakt / Impressum</a></li>
				
                
                <li><a href="#KonfiguratorSeite">Datenschutzerklärung</a></li>
			</ul>
		</nav>
    </div>
                 <header>
            
        
    
            </header>
    <!--ERSTESEITE----------------------------->

    
    </section>
 <!--HOME-MENU----------------------------->


<!--SERVICE----------------------------->
<section id="ServiceSeite">
    
    <h3>Service</h3>
    <hr>
    </section>
<!--KONTAKT----------------------------->
    <section id="KontaktSeite">
    
    <h3>Kontakt</h3>
    <hr>
    
        <form>
        <input type="email" tabindex="1" placeholder="E-Mail"><br>
        <input type="text" tabindex="2" placeholder="Betreff"><br>
            <textarea tabindex="3" placeholder="Nachricht"></textarea><br>
        <input class="button" type="submit">
        </form>
    </section>
<!--MAP----------------------------->
    <section id="MapSeite">
    
    <h3>Map</h3>
    <hr>
    
    </section>
<!--About----------------------------->
    <section id="AboutSeite">
    
    <h3>About</h3>
    <hr>
    <img src="img/avatar.png" class="Avatarimg" alt="AvatarImage">
        <div class="Aboutsachen">
        <h4 class="Aboutname">Aytekin Ekrem | Eddy</h4>
        <p class="Aboutbeschreibung">Geschäftsführer Blablabla..fsdff
            sdfasdfjlsakdfjöaslkfdhösalkdj
            fölasjdfölaskdjflaskdfj</p>
        </div>
    </section>
<!--Konfigurator----------------------------->
    <section id="KonfiguratorSeite">
    
    <h3>Konfigurator</h3>
    <hr>
    
    </section>
<!--FOOTER----------------------------->
<footer>
  <p>
    &copy; 2018-2019 Prime Performance
  </p>
</footer>
    <script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
    <script src="js/mobile-menu.js"></script>
    </body>
    </html>

            
          
!
            
              html,body{margin: 0; padding: 0; height: 100%; 
}
section{min-height: 100%; }
a {text-decoration: none;}
li{list-style-type: none;}
#ErsteSeite{min-height: 100%;
}
h1, h2, h3, a {font-family: 'Roboto', sans-serif; font-weight: 500; color: #494949; text-transform: uppercase; }
h2{color: #5d7177;}
h3{font-size: 40px; text-align: center; padding-top: 4%; margin-bottom: 5px;}
h4, p{font-family: font-family: 'Roboto Slab', serif; color: #494949; text-align: center;}
hr {width: 30px; height: 3px; background: #494949; border: 0; margin: 0 auto 40px auto; margin-top: -10px; }
.Avatarimg {transition: all 300ms; -webkit-transition: all 300ms; -moz-transition: all 300ms; -o-transition: all 300ms;}
.Aboutname{text-align: left;}
.Aboutbeschreibung{text-align: left}

/* HEADER************************************/
header{width: 100%; height: 86px; display: block; background-color: #000000; position: fixed;  
margin:0 auto; z-index: 3;
    box-shadow:  0 0 0 8px; color: 	#FFDE42; top: 70px;}

    .header-img{ 
    width: auto;
    position: fixed;
    height: auto;
    left: 0px;
    top:42px;
    z-index: 4; }


/* HOME*************************************/
#ErsteSeite{
background: url(img/landing.jpg) no-repeat; background-position: center center; background-size: cover; background-attachment: fixed; margin-top: 80px;
}

/* Bienenstock******************************/
.beeHive {
    position: fixed; 
    left: calc(50vw - 90px); 
    top: calc(50vh - 50px); 
    z-index: 4; }

.nav.honey{}
/* ABOUT************************************/
#AboutSeite img:hover {transform: scale(1.1)}
#AboutSeite img{
    width: 240px;
    margin-left: 5%; 
    margin-top: 80px;
    float: left;}
#AboutSeite h4 {font-size: 25px;}
#AboutSeite p{width: 290px;}
.Aboutsachen{
   margin-top:310px;
    height: 50px;
    margin-left: 5%;
    position: absolute; 
        
}


/* CONTACT**********************************/

form input, textarea {
    font-family: 'Roboto Slab', serif;
    font-size: 15px; margin-bottom: 10px;
    border-radius: 2px;
    border: 3px solid;
    border-color: #494949;
    margin-left: 1%;
}

form input {
    width: 35%;
    height: 30px;
}
form textarea {
    width: 35%;
    height: 200px;
}
.button {width: auto;  background-color: #f3b202}

/* FOOTER************************************/
footer { width: 100%; height: 60px; background-color: #fd4;}
footer p{
font-size: 20px; color: #f1f1f1; padding-top: 14px;
}

/* MEDIA QUERIES ****************************/

/* TABLETS */

{}


/* MOBILE */

{
    
}



nav.honey {
	border-bottom: 40px solid #fd4;
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	position: fixed;
	width: 68px;
    height: 0; 
    margin:0 auto;
    margin-left: auto;
    margin-right: auto;
    bottom: 0; 
    left: 315px; 
    top: 73px;}

nav.honey:after {
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-top: 40px solid #fd4;
    width: 68px;
	content: '';
	height: 0;
	left: -20px;
	position: absolute;
    margin:0 auto;
    bottom: -79px;}

nav.honey button {
	background: transparent;
	border: none;
	font-size: 450%;
	height: auto;
	margin-top: 0;
	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;
    margin: 0;
    padding: 0;
}

nav.honey ul li {
	border-bottom: 38px solid #fd4;
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	position: absolute;
	width: 55px;
    height: 0; 
    margin:0 auto;
    margin-left: auto;
    margin-right: auto;
    bottom: 0; 
    left: -7px; 
    top: 1px; z-index: -3;} 


nav.honey ul li:before {
	border-top: 38px solid #fd4;
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	content: '';
	height: 0;
	left: -20px;
	margin: 0;
	position: absolute;
	top: 38px;
	width: 55px;border-bottom-left-radius: 1.5em;
}

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

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

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

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

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

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

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

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

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

nav.honey ul li a.contact {
	background-image: url(https://image.flaticon.com/icons/svg/1034/1034153.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