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

              
                <div class="site">
  <div class="site-header">
    <h1 class="site-title">Lamborghini Aventador</h1>
    <div class="site-navigation">
      <ul>
        <li><a href="#specs">Specs</a></li>
        <li><a href="#Dealers">Dealers</a></li>
        <li><a href="#Cost">Cost</a></li>
      </ul>
    </div><!-- .site-navigation -->
  </div><!-- .site-header -->

  <img id="lambo" src="http://www.autoguide.com/images/content/Lamborghini-Aventador-Main.jpg" alt="White Lamborghini Aventador" />

  <div class="content-wrapper">
    <div class="site-content">
       <h3 id="specs">Specs</h3>

      <p>The Lamborghini Aventador is a 7 speed double clutch flappy pedal gear box with an outstanding top speed of 217mph. The acceleration of the Lamborghini is 0-62mph. With a carbon fiber body the car is a quick fix to going around corners at tremdous top speeds at track days. The look of the Lamborghini will stop anyone in their path amazed at the design the Lamborghini has. Fire coming out of the exhaust at high speeds will definitely make you feel on top of the world. The exhaust also makes the V12 engine sound amazing as you drive through the town or are going on a joy ride on the highway.</p>

      <a href="http://www.lamborghini.com/en/models/aventador-lp-700-4/technical-specifications/" title="Lamborghini Specifications">Complete Specifications</a>
      
      <a href="http://www.topgear.com/car-reviews/lamborghini/aventador" title="Review below is included in link">Top Gear Review</a>
        
        
         <p>Three modes exist in the Aventador driving experience, all worked from adjustments to the car’s center differential: Strada (road), Sport and Corsa (race). Strada is full of lazy gearchanges from the seven-speed ISR ’box and relaxed – as relaxed as the Aventador ever gets – suspension settings, throwing up understeer more often then not. Sport is the best compromise, allowing a little slip from the rear and snappier changes, while Corsa is a full-on track mode which smashes gearchanges and turns the Aventador into a lunging, scary, smokey monster.</p> 
      <h3 id="Dealers">Dealers</h3>
         <p>The only Lamborghini dealer in Ohio is located at 6335 Perimeter Loop Road, Ohio 43017 Dublin. If you don't live in Ohio then any of the other 31 dealers in America can help you.</p>
      <h3 id="Cost"> Cost</h3>
      <p>The cost for a Lamborghini Aventador base model is around $450,000. That may be a lot but I think it would be worth it if you love cars, especially a Lamborghini Aventador.</p>

         </div><!-- .site-content -->

    <div class="sidebar">
      <div class="widget">
        <img id="interior" src="http://www.hdcarwallpapers.com/walls/2011_lamborghini_aventador_interior-wide.jpg" alt="Sidebar Image" />
      </div>

      <div class="widget">
        <h3 class="widget-header">Lamborghini Aventador Interior</h3>
        <p>The interior is a nice sleek design with just a flare of the Lamborghini passion.</p>
      </div>
    </div><!-- .sidebar -->
  </div><!-- .content-wrapper -->

  <div class="site-footer">
    <div class="column">
               </div>

    <div class="column">
      
    </div>

    <div class="column last">
      
    </div>

    <p>This site is for educational purposes in connection with the Girl Scouts of Western Ohio. All image rights are retained solely by the original sources.</p>
  </div><!-- .site-footer -->
</div><!-- .site -->
              
            
!

CSS

              
                @import url(https://fonts.googleapis.com/css?family=Bangers);
/*
Website Name: Right Sidebar Layout
Description: A two column layout with the sidebar on the right for a website.
Author(s): Your Name(s)...

This site is for educational purposes in connection with the Girl Scouts of Western Ohio. All image rights are retained solely by the original sources.
*/

/* =Structure
---------------------------*/
body {
  font-family: 'Lato', sans-serif;
  background-color: black;
  padding: 40px;
  font-size: 16px;
  line-height: 26px;
}
.site {
  background-color: darkred;
  max-width: 1000px;
  margin: auto;
  overflow: hidden;
}
#specs{
  font-size: 18px;
  text-decoration: underline;
  font-style: italic;
           }
#Dealers{
  font-size:18px;
  text-decoration: underline;
  font-style: italic;
}
#Cost{
  font-size:18px;
  text-decoration: underline;
  font-style: italic
}
a {
  color:black
}
 
.widget{
  font-size: 14px;
}
/* =Elements
---------------------------*/
img {
  max-width: 100%;
  height: auto;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 26px;
}
p {
  margin-bottom: 26px;
}
p:last-child {
  margin-bottom: 0;
}

/* =Header
---------------------------*/
.site-header {
  font-family: 'Bangers';
  font-size: 24px;
  padding: 40px;
  text-align: center;
}
.site-title {
  margin: 0;
  text-decoration: underline;
  font-style: italic;
}
#lambo{
  width:100%;
}
#interior{
  width:100%
}

@media (min-width: 800px) {
  .site-title {
    float: left;
  }
}

/* =Navigation
---------------------------*/
.site-navigation ul {
  list-style-type: 'Lato',sans-serif;
  margin: 0;
  padding: 0;
}
.site-navigation li {
  display: inline-block;
}
.site-navigation a {
  display: block;
  text-decoration: none;
  font-weight: 650;
  color: #000;
  padding: 0 20px;
}
.site-navigation a:hover {
  color: #4cacbe;
}

@media (min-width: 800px) {
  .site-navigation {
    float: right;
  }
  .site-navigation a {
    padding: 0 0 0 20px;
  }
}

/* =Content
---------------------------*/
.content-wrapper {
  padding: 40px;
}
.site-content {
  padding-bottom: 40px;
  border-bottom: 1px dotted #999;
}
.sidebar {
  padding-top: 40px;
  font-size: 13px;
  line-height: 21px;
  text-align: center;
}
.widget {
  padding-bottom: 20px;
}

@media (min-width: 800px) {
  .site-content {
    width: 70%;
    float: left;
    border: none;
  }
  .sidebar {
    width: 30%;
    float: left;
    padding-top: 0;
    text-align: left;
  }
  .widget {
    padding-left: 20px;
  }
}

/* =Footer
---------------------------*/
.site-footer {
  background-color: #333;
  color: white;
  overflow: hidden;
  padding: 40px;
}

@media (min-width: 800px) {
  .site-footer {
    clear: both;
  }
  .site-footer .column {
    width: 32%;
    float: left;
    padding-right: 2%;
    margin-bottom: 2%;
  }
  .site-footer .column.last {
    padding-right: 0;
  }
}

/* Crafted with love at Sparkbox */
              
            
!

JS

              
                
              
            
!
999px

Console