Pen Settings

HTML

CSS

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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

Behavior

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.

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 lang="de">
<head>
	<title>So richtig lecker!</title>
	<meta charset="utf-8">
	<link rel="stylesheet" href="master.css">
</head>
<body>
<header>
  HEADER
  </header>
	<main>	
    <div id="right">
		<nav id="naviO">
		
			<ul>
			
				<li> <a href="index.html">Home</a> </li>
				<li> <a href="#">Mein Fuhrpark</a> </li>
				<li> <a href="#">Veranstaltungen</a> </li>
				<li> <a href="#">Gästebuch</a> </li>
				<li> <a href="#">Kontakt</a> </li>
				<li> <a href="#">Impressum</a> </li>
			
			</ul>
		
		</nav>
      
      
      <div id="content">
        <h3>Überschrift</h3>
   <p>
     Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
        </p>
      </div>
      
      
      
    </div>
    <div id="left">
    
    
    
    
    
    
    

		
		<div id="naviL">
<h3>Rezepte</h3>
			<ul>
				<li tabindex="0"> <a href="#">Asiagerichte</a> 
					<ul>
						<li><a href="#" tabindex="0">Bánh Xèo</a> </li>
						<li><a href="#" tabindex="0">Frühlingsrolle</a></li>
						<li><a href="#" tabindex="0">Pfannengerührtes</a></li>
						<li><a href="#" tabindex="0">Sweet Chilli Sauce</a></li>
					</ul>
				</li>
				<li tabindex="0"> <a href="#">Aufläufe</a> 
					<ul>
						<li><a href="#" tabindex="0">Brokkoli Lachs Nudel Auflauf</a> </li>
						<li><a href="#" tabindex="0">Muttis Tortellini Auflauf</a></li>
						<li><a href="#" tabindex="0">Ofenkassler mit Gemüse</a></li>
						<li><a href="#" tabindex="0">Spargelauflauf</a></li>
						<li><a href="#" tabindex="0">Tortellini Auflauf</a></li>
					</ul>
				</li>
				<li tabindex="0"> <a href="#">Beilagen</a> 
					<ul>
						<li><a href="#" tabindex="0">Rösti Urner Art</a> </li>
						<li><a href="#" tabindex="0">Rösti Klassisch</a></li>
					</ul>
				</li>
				<li tabindex="0"> <a href="#">Brot, Brötchen</a> 
					<ul>
						<li><a href="#" tabindex="0">Balkanbrot</a> </li>
						<li><a href="#" tabindex="0">Bier Honig Brot</a></li>
						<li><a href="#" tabindex="0">Kartoffelbrot</a></li>
						<li><a href="#" tabindex="0">Buttermilchbrot</a></li>
						<li><a href="#" tabindex="0">Haselnuss Hörnchen</a></li>
						<li><a href="#" tabindex="0">Landbrot</a></li>
						<li><a href="#" tabindex="0">Osterzop</a></li>
						<li><a href="#" tabindex="0">Käsebrötchen</a></li>
						<li><a href="#" tabindex="0">The Big Greek</a></li>
					</ul>
				</li>
				<li tabindex="0"> <a href="#">Brotaufstrich</a> 
					<ul>
						<li><a href="#" tabindex="0">Butter</a> </li>
						<li><a href="#" tabindex="0">Eiersalat</a></li>
						<li><a href="#" tabindex="0">Skagen Röra</a></li>
					</ul>
				</li>
				<li tabindex="0"> <a href="#">Eintöpfe, Suppen</a> 
					<ul>
						<li><a href="#" tabindex="0">Gemüsesuppe</a> </li>
						<li><a href="#" tabindex="0">Kartoffel-Paprika Eintopf</a></li>
					</ul>
				</li>
				<li tabindex="0"> <a href="#">Fleisch</a> 
					<ul>
						<li><a href="#" tabindex="0">gefüllte Paprika</a> </li>
						<li><a href="#" tabindex="0">Porree Hack Pfanne</a></li>
						<li><a href="#" tabindex="0">Schmorgurken mit Bratwurstbällchen</a></li>
						<li><a href="#" tabindex="0">pikante Slaviniken</a></li>
					</ul>
				</li>
				<li tabindex="0"> <a href="#">Pasta und Risotto</a> 
					<ul>
						<li><a href="#" tabindex="0">Gemüse-Nudelpfanne</a> </li>
						<li><a href="#" tabindex="0">Pfifferlinge mit Nudeln, Gemüse</a></li>
						<li><a href="#" tabindex="0">Rucola mit Schinkenstreifen</a></li>
						<li><a href="#" tabindex="0">Spaghetti mit grünen Spargel, Garnelen</a></li>
						<li><a href="#" tabindex="0">Zitronenspaghetti</a></li>
					</ul>
				</li>
				<li tabindex="0"> <a href="#">Pizza, Flammkuchen</a> 
					<ul>
						<li><a href="#" tabindex="0">Pizza American Style</a> </li>
						<li><a href="#" tabindex="0">Italienischer Pizzateig</a></li>
						<li><a href="#" tabindex="0">Flammkuchen</a></li>
						<li><a href="#" tabindex="0">Apfel Flammkuchen</a></li>
					</ul>
				</li>
				<li> <a href="#">Salate</a> </li>
				<li tabindex="0"> <a href="#">So&szlig;en</a> 
					<ul>
						<li><a href="#" tabindex="0">Sahne Bacon So&szlig;e</a> </li>
						<li><a href="#" tabindex="0">Gemüseso&szlig;e</a></li>
						<li><a href="#" tabindex="0">Schnelle Hackso&szlig;e</a></li>
					</ul>
				</li>
				<li tabindex="0"> <a href="#">Desserts</a> 
					<ul>
						<li><a href="#" tabindex="0">Schokoflammeri</a> </li>
						<li><a href="#" tabindex="0">Vanilleso&szlig;e</a></li>
						<li><a href="#" tabindex="0">Whisky Eis</a></li>
					</ul>
				</li>
				<li tabindex="0"> <a href="#">Kekse, Gebäck</a> 
					<ul>
						<li><a href="#" tabindex="0">American Cookies mit Smarties</a> </li>
						<li><a href="#" tabindex="0">Baiser</a></li>
						<li><a href="#" tabindex="0">Buttermilchmuffins</a></li>
						<li><a href="#" tabindex="0">Cream Cheese Brownies</a></li>
						<li><a href="#" tabindex="0">Marzipan Küsschen</a></li>
						<li><a href="#" tabindex="0">Orangenmuffins</a></li>
						<li><a href="#" tabindex="0">Zitronenmuffins</a></li>
					</ul>
				</li>
				<li tabindex="0"> <a href="#">Kuchen, Waffeln</a> 
					<ul>
						<li><a href="#" tabindex="0">Baiser trifft Pflaume</a> </li>
						<li><a href="#" tabindex="0">Banane Schokokuchen</a></li>
						<li><a href="#" tabindex="0">Apfelkuchen</a></li>
						<li><a href="#" tabindex="0">Pfirsich Himbeer Streuselkuchen</a></li>
						<li><a href="#" tabindex="0">Stracciatella Kuchen</a></li>
						<li><a href="#" tabindex="0">Streuselkuchen</a></li>
						<li><a href="#" tabindex="0">Vanillekuchen</a></li>
						<li><a href="#" tabindex="0">Zitronenkuchen</a></li>
						<li><a href="#" tabindex="0">Apfelwaffeln</a></li>
						<li><a href="#" tabindex="0">Käse Schinken Waffeln</a></li>
					</ul>
				</li>
				
			</ul>
		
		</div>
		
		
		
		









	</div>
  </main>
  <footer>
    FOOTER
  </footer>
</body>

</html>
              
            
!

CSS

              
                *{
	margin: 0;
	padding: 0;
}

body {
	font-family: Arial, Verdana, Geneva, Helvetica, sans-serif;
	font-size: 14px;
  height:200vh;
	width: 100%;
    color:white;
	background: #F7F2E0;
  display:flex;
  flex-direction:column;
}
header {
	height: 200px;
	background-image: url(links/SpeisenTisch.jpg);
	background-position: left top;
	background-repeat: no-repeat;
	background-color: #000000;
  text-align:center;
  font-size:50px;
}
main{
  display:flex;
  height:100%;
  min-height:100vh;
}
#left{
  order:1;
  display:flex;
  flex-direction:column;
}
#right{
  order:2;
  width:100%;
  display:flex;
  flex-direction:column;
}
#naviO {
	position:sticky;
	width:100%;
	top:0px;
	background: #ffffff;
}
#naviO ul {
  display:flex;
}



#naviO a:focus,
#naviO li[aria-current] a:focus,
#naviO li[aria-current] a:hover,
#naviL a:focus,
#naviL li[aria-current] a:focus,
#naviL li[aria-current] a:hover {
	color: white;
	background: #8A4B08;
}






#naviL {
	min-height 300px;
}

#naviL li{
	font-size: 14px;
	margin: 0 0 .2em 0;
	padding:0 3px;
	width: 140px;
}

#naviO ul li {
  flex:1;
	border-bottom: 1px solid #8A4B08;
	border-right: 1px solid #8A4B08;
  padding: 7px;
  margin-left:2px;
}




ul,li,ul li{
  	list-style: none;
}

#naviL a ,#naviL h3,#naviO ul li a{
	display: block;
	padding: 6px;
	text-decoration: none;
	font-weight: bold;
	border-bottom: 1px solid #8A4B08;
	border-right: 1px solid #8a4b08;
	color: #8A4B08;
	background: #ffffff;
	transition: all .25s ease-in;
}
#naviO ul li{
  padding:0;
}

#naviL li[aria-current] a {
	background: firebrick;
}

#naviL ul li ul{
  display:none
}
#naviL ul li:hover ul{
	position:absolute;
  display:block;
  margin-top:-30px;
	left: 140px;
	font: 14px;
	transition: font 0.5s;
}





#content{
	height:100%;
	background: #555555;
	font-size: 30px;
  padding:20px;
  overflow:auto;
}


footer{
  width:100%;
  height:50px;
  text-align:center;
  font-size:40px;
  background:grey;
}



@media (min-width: 25em) {
	#naviL li {
		font-size: 1em;
	}
}
              
            
!

JS

              
                
              
            
!
999px

Console