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 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

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

              
                <div class="pad"><div><div><h1>Menù</h1><p>by<br />Idee per Computer ed Internet</p></div><div><div><p>Menu a Libro</p><p>&#9728; <a href="URL_LINK">Tutorial Blogger</a></p><p>&#9728; <a href="URL_LINK">Website SEO Building</a></p><p>&#9728; <a href="URL_LINK">Facebook</a></p><br /><p>&#9728; <a href="URL_LINK">Video</a></p><br><p>&#9728; <a href="URL_LINK">Immagini</a></p><br> 
</div></div> 
<div><div><br /> 
<br /> 
<center><span style="font-weight: bold; color: rgb(0, 153, 0);">Demo del Menù a Libro</span></center><br /> 
<blockquote>Il menù di un sito è molto importante non solo per i visitatori ma anche per i motori di ricerca. Questo menù è probabilmente quello più originale tra quelli che ho presentato.</blockquote></div></div></div></div> 
<div style='clear: both;'></div>
              
            
!

CSS

              
                div.pad {width:600px; height:400px; padding:0 0 40px 0; margin:20px auto; position:relative; overflow:hidden; background:#aaa; border:40px solid #aaa; border-width:40px 40px 0 40px;} 
div.pad > div {width:300px; height:400px; position:relative; position:relative; float:right;} 
div.pad > div > div:nth-of-type(1) {width:300px; height:400px; position:absolute; left:0; top:0; background:#574; 
} 
div.pad > div > div:nth-of-type(2), 
div.pad > div > div:nth-of-type(2) div { 
-webkit-transform-origin: 0 -900px; 
-moz-transform-origin: 0 -900px; 
-ms-transform-origin: 0 -900px; 
-o-transform-origin: 0 -900px; 
transform-origin: 0 -900px; 
-webkit-transition: 0.75s ease-in-out; 
-moz-transition: 0.75s ease-in-out; 
-ms-transition: 0.75s ease-in-out; 
-o-transition: 0.75s ease-in-out; 
transition: 0.75s ease-in-out; 
} 
div.pad > div > div:nth-of-type(3), 
div.pad > div > div:nth-of-type(3) div { 
-webkit-transform-origin: 300px -900px; 
-moz-transform-origin: 300px -900px; 
-ms-transform-origin: 300px -900px; 
-o-transform-origin: 300px -900px; 
transform-origin: 300px -900px; 
-webkit-transform: rotate(-17deg); 
-moz-transform: rotate(-17deg); 
-ms-transform: rotate(-17deg); 
-o-transform: rotate(-17deg); 
transform: rotate(-17deg); 
-webkit-transition: 0.75s ease-in-out; 
-moz-transition: 0.75s ease-in-out; 
-ms-transition: 0.75s ease-in-out; 
-o-transition: 0.75s ease-in-out; 
transition: 0.75s ease-in-out; 
} 
div.pad > div > div:nth-of-type(2) {width:300px; height:440px; position:absolute; left:0; top:0; overflow:hidden; 
-webkit-transform: rotate(-17deg); 
-moz-transform: rotate(-17deg); 
-ms-transform: rotate(-17deg); 
-o-transform: rotate(-17deg); 
transform: rotate(-17deg); 
} 
div.pad > div > div:nth-of-type(2) div {width:300px; height:400px; position:absolute; left:0; top:0; background:#ddd; 
-webkit-transform: rotate(17deg); 
-moz-transform: rotate(17deg); 
-ms-transform: rotate(17deg); 
-o-transform: rotate(17deg); 
transform: rotate(17deg); 
} 
div.pad > div > div:nth-of-type(3) {width:300px; height:440px; position:absolute; left:-300px; top:0; overflow:hidden;} 
div.pad > div > div:nth-of-type(3) div {width:299px; height:400px; position:absolute; left:0; top:0; background:#eee; border-right:1px solid #888; 
-moz-box-shadow: -2px 0px 10px rgba(0, 0, 0, 0.5); 
-webkit-box-shadow: -2px 0px 10px rgba(0, 0, 0, 0.5); 
box-shadow: -2px 0px 10px rgba(0, 0, 0, 0.5); 
} 
div.pad > div:hover > div:nth-of-type(2), 
div.pad > div:hover > div:nth-of-type(3), 
div.pad > div:hover > div:nth-of-type(2) div, 
div.pad > div:hover > div:nth-of-type(3) div 
{ 
-moz-box-shadow: none; 
-webkit-box-shadow: none; 
box-shadow: none; 
-webkit-transform: rotate(0deg); 
-moz-transform: rotate(0deg); 
-ms-transform: rotate(0deg); 
-o-transform: rotate(0deg); 
transform: rotate(0deg); 
} 
div.pad h1 {padding:0; margin:0; text-align:center; font:normal 80px/250px georgia, serif; color:#111; text-shadow: 0px 1px 1px #ddd;} 
div.pad p {margin:0; text-align:center; font:normal 15px/18px Georgia, serif; color:#111; padding:20px;} 
              
            
!

JS

              
                
              
            
!
999px

Console