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>
    <head>
        <link rel="stylesheet" type="text/css" href="main.css">
      <title> All About Live For Lollies </title>
    </head>
    <body>
      
 
      <header>
        <h1> All About Live For Lollies </h1>
      </header>
     
      
         <ul id="navlist">
    <li><a href="/index.html/">Home</a></li>
    <li><a href="/about.html/">About</a></li>
     <li><a href="/contact.html/">Contact Us</a></li>
    <li><a href="/buy.html/">Buy Now!</a></li>
</ul> 
   
      
      <section>
        <p> Live for Lollies was merely an idea in the head of some pretty inspriring people just a few years ago. </p>
        
        <p>
          <a href="http://www.space538.org/sites/default/files/photos/wonka1.jpg"> William Wonkers </a>, <a href="http://vignette1.wikia.nocookie.net/candy-land/images/8/83/King_kandy_new.png/revision/latest?cb=20101207232807"> King Kandy </a>, and <a href="http://cdn1.theodysseyonline.com/files/2015/01/13/6355676017062728591511964680_latest.png"> Sweet Miss May </a> had all been working in the Sweets Industry for over 70 combined years when they realized it was time for a <em>change!</em> 
      
      </p>
            
      </section>
<aside>
  
    <a href="https://www.youtube.com/watch?v=xUpGTvPrCG8" target="_blank"> <strong> Click Here to See Where all the Magic Happens!</strong> </a>
                                         
   
          <ul style="list-style-type:circle">
          
        <li> Fat Free </li>
        <li> Sugar Free </li>
        <li> Low Calorie </li>
        <li> High Calorie </li>
        <li> Gluten Free </li>
        <li> Detox </li>
        
          </ul>
    
</aside>
     
  <img src="http://tchaikovskydarling.files.wordpress.com/2014/03/doshaassortment_20120920_v1_1.png" height= "250" width= "550"
          alt="image of six lollipops">


   <h2> <strong>The Candy Revolution </strong></h2>
     
      <table>
                                            
     More and more often it seems, our best friends and family members are having to live with dietary restrictions for a multitude of reasons! Diabetes, Celiacs, Crohn's, IBS, the list goes on an on! Even those on strict weight loss or gain regimens want a sweet, guilt-free indulgence every now and again! 
        
      </table>
      <p></p>
      <table>
     
     Live by Lollies &trade; is devoted to offering the highest quality and longest lasting lollipops, with an added dose of <i>health</i> that can't be found in any of the popular lollipops on the market today!
             
          
</table>

        <footer>
          <p> 
         Last Updated: April 25, 2016</p>
          <p> Contact email: <a href="mailto:mhartz1@mhartz1.musites.org">mhartz1@mhartz1.musites.org</a> </p>
      </footer>  
          
      
        
      
    </body>
      </html>
              
            
!

CSS

              
                html{
  font-family: arial, helventica, sans-sarif;
}

header,footer{
  background-color:pink;
  color:black;
  text-align:center;
  border: solid thin black;
  padding-right:250px;
  padding-left:250px;
  letter-spacing:5px;
  text-align:center;
}


navlist{
  font-weight: bold;
  padding-right: 30px;
  line-height: 75px;
  height: 1080px;
  width: 100px;
  clear: both;

 
}
img{
  margin-bottom:25px;
  margin-top:25px;
  margin-left:50px;
  margin-right:0px;
}

ul#navlist{
  padding:10px ;
  margin:10px ;
  text-align:center;
  
  
}

ul#navlist li{
  display:inline;
  
  
}

ul#navlist a{
  padding: 40px;
  width: 7em;
  text-align:center;
  letter-spacing:3px;
  font-weight:bold;
  display:inline; 
  text-decoration:none;
}

ul#navlist:hover{
}

 body {
    background-image: url(http://www.easyfreepatterns.com/patterns/132/pink-striped-background-&ndash-item-1-vector-magz-free-download-132016.png);
  
} 

section{
  float: left;
  width: 350px;
  padding: 10px;

}

aside{
   margin:auto;
   float:right;
  }

table th,td {
  margin: 100px 150px 100px 80px;
  border: 5px solid black;
  width: 50px;
  height: 150px;
  text-align:center;
  vertical-align:bottom;
  padding: 15px;
  
}

h2{
  color:#A52A2A;}

tr:hover{
  background-color:#FAEBD7;
}
              
            
!

JS

              
                
              
            
!
999px

Console