cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

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.

Quick-add: + add another resource

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.

Quick-add: + add another resource

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.

            
              <header>						
			<input type="checkbox" id="menuCheck">
            <label class="iconoMenu" for="menuCheck"></label>
			
			<h1>Título de mi página</h1>
			
			<div class="contenedorMenu">
				<ul>
					<li><a href="#">Opción uno</a></li>
					<li><a href="#">Opción dos</a></li>
					<li><a href="#">Opción tres</a></li>
					<li><a href="#">Opción cuatro</a></li>
				</ul>
			</div>
		</header>
		<main>
			<br><br><br>
			Contenido
			<br><br><br>
		</main>
		<footer>
			<br><br><br>
			Pie
			<br><br><br>
		</footer>

            
          
!
            
              body{background-color:#fff; margin:0px; padding:0px; font-family:Arial, Helvetica, sans-serif}
			ul{margin:0px; padding:0px; }
			li{ list-style:none; width:100%; border-bottom:thin #fff solid}			
			a{text-decoration:none; color:#fff; display:block; text-align:center; padding:15px 0px 15px 0px}
			a:hover{ background-color:navy; color:#fff}			
			h1{ background-color:#993333; color:#fff; margin:0px; padding:11px 0px 11px 50px;}
			main{ background-color:aliceblue}
			footer{ background-color:gainsboro}
			
			#menuCheck{ display:none}
			.iconoMenu{width:30px; height:26px; float:left; cursor:pointer}
			.iconoMenu:before{margin-top: 20px; margin-left:15px; display: block;height: 2px;width: 20px;border-top: 1px solid #dddddd;background: #dddddd;content: '';}
			.iconoMenu:after{margin-top: 5px; margin-left:15px; display: block;height: 4px;width: 20px;border-top: 3px solid #dddddd;border-bottom: 3px solid #dddddd;content: '';}

			.contenedorMenu{ width:100%; height:100%;  background-color:#888; position:absolute; top:60px;  transform: translateX(-100%); transition: all 0.5s;}
			#menuCheck:checked ~ .contenedorMenu{transform: translateX(0%)}

            
          
!
999px
Loading ..................

Console