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

              
                
<html>
 <head>
    <title>Mr. Unicorn&rsquo;s Sparkly Clean Maid Service</title>
    <link rel="stylesheet" type="text/css" href="style.css">
  </head>


 <body>
<header class="site-header">
  <nav class="site-nav">
		<ul>
			<li> <a href="#"> Home </a>
			</li>
			<li> <a href="#"> Service </a>
			</li>
			<li> <a href="#"> Location </a>
			</li>
			<li> <a href="#"> About </a>
			</li>
			<li> <a href="#"> Contact </a>
			</li>
		</ul>
	</nav>
  </header> 

<main>
<div>
 <img src="images/badge.jpg" alt="Badge"> 
 <br>
 <img src="images/whiteunicorn.jpg" alt="Logo">
 <br>
 <center>
 <img src="images/topunicorn.jpg" alt="TopBanner">
 </center>
 <br>
  	<section class="Top">
  	<h1> 1-800- UNICORN </h1> 
  	<br>
</div>  
<div id="contentBox" style="margin:0px auto; width:70%">
<span>
<ul class="service">
    <li>
      <div class="service-content" id="column1" style="float:left; margin:0; width:33%;">
      <img src="images/Leftunicorn.jpg" alt="LeftUnicorn">
      <br>
      <br>
          <center> 
            <h2> We Clean Bathrooms</h2>  
          </center>
          <br>
          <p> Ugh - cleaning bathrooms is the WORST, what with all the poo and mildew in there. Let our unicorns do it for you. Our unicorns LOVE cleaning mold from your shower grout and leaving your shower sparkling clean and shiny. Wouldn&#39;t it be awesome if you never had to do that dirty work ever again? Imagine how much better your life would be if you never had to clean your own toilet. Let us make that happen for you!</p> 
      </div>
      </li>
      </span>

  <li>
    <div class="service-content"id="column2" style="float:left; margin:0;width:33%;">
  	<img src="images/middleunicorn.jpg" alt="MiddleUnicorn">
    <br>
      <br>
          <center> 
  	   <h2>We Clean Kitchens</h2>
         </center>
         <br>
  	   <p> I don&#39;t know about you, but we love making big fat greasy bacon cheeseburgers in our kitchen. The only problem, aside from that our pants don&#39;t fit any more, is that our whole kitchen ends up covered in all the grease splattered all over the kitchen. Let our unicorns come to your kitchen and degrease and clean your kitchen until it&#39;s sparkly clean. Then you can go and make another bacon cheeseburger and call us again.
  	 </p>
    </div>
  </li>

<li>
  <div class="service-content" id="column3" style="float:left; margin:0;width:33%">
	<img src="images/rightunicorn.jpg" alt="RightUnicorn">
  <br>
  <br>
    <center> 
      <h2>We Do Math Homework </h2>
    </center>
          <br>
  	     <p> Math is icky. There&#39;s no way around that. But our unicorns make it a snap with the way they bring sparkles and rainbows to even the most boring multiplication homework. We can&#39;t guarantee that we&#39;ll always get the correct answers, but who cares when your whole homework is covered in glitter and scratch and sniff stickers that smell like sugar and cream? Let our unicorns leave their glittery hoofprints all over your next assignment.
  	     </p>
        </div>
      </li>
  </div>
  
<section class="bottom"> 
  <center>
 	<img src="images/bottomunicorn .jpg" alt="BottomUnicorn">
  </center>
      <h2>Why we&#39;re the best</h2>
<p> &#42; We&#39;re the ONLY cleaning company that will send out 100% genuine unicorns to perform all cleaning and homework tasks. </p>
<p> &#42; Our unicorns leave a trail of rainbows and glitter everywhere they go. </p>
<p> &#42; Nobody knows sparkling clean better than a unicorn. I mean, please.</p>
<p> &#42; We do a thorough background check on every unicorn, so you can be assured that our unicorns won&#39;t steal anything from your home.</p>
<p> &#42; We&#39;re fully insured so in the event that one of our unicorns accidentlly breaks a priceless vase with one of their silly clumsy hooves, we&#39;ll pay for the damage.</p>
<p> &#42; Unicorns are well-known to be best friends with fairies and pixies so they get free help on every project - get your cleaning done in half the time for no extra money!</p>
<p> &#42; Unicorns eat marshmallow-scented air, which is really cheap, plus all unicorns get lifetime free rent in the enchanted forest,  so we don&#39;t have pay them much.</p>
<p> &#42; Unicorns do your dirty work with smiles on their faces.</p>
 </section>

 <section class="coupon">
 	<h2>$50 OFF!</h2>
 	<h3>first-time customers only</h3>
 	<p>Just mention &#39;pink sparkle pony&#39; to one of our friendly sales agents and you&#39;ll get $50 off your first service</p>
 </section>

</main>
 
 <footer>
  <br>
  <div class="footerlist" id="column1" style="float:left; margin:0 ; width:20%;">
 	<ul>
    <br>
    <li>Home </li> 
    <li>Services</li> 
    <li>Location</li> 
    <li>About</li> 
    <li>Contact</li> 
  </ul>
  </div>

<br>
<div class="footercon" id="column2" style="float:left; margin:0; width:45%;">
  <p>We are so freaking awesome, you know that you want to do business with us. I mean, why wouldn&#39;t you? Most of our staff are sparkly pink unicorns that poop rainbows and belch glitter. And their horns are made of pure 24 karat gold. In fact, I&#39;d go so far as to say that you&#39;d be positively insane to pass up any oppourtunity to give us your money, even if all you want to hire us for is to scrub the mold off the grout in your bathtub. Unicorns can get a bathtub sparkly clean like nobody&#39;s business. Because nobody knows sparkly better than unicorns.
  </p>
<br> 
</div>
<br>
<div id="column3" style="float:left; margin:0; width:25%;">
  <center> 
    <p> socail media icons go here</p>
  </center> 
  </div>
 </footer>
 
 </body>
</html>

              
            
!

CSS

              
                /* Reset --------------------------------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
     margin: 0;
     padding: 0;
     border: 0;
     font-size: 100%;
     font: inherit;
     vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
     display: block;
}
body {
     line-height: 1;
}
ol, ul {
     list-style: none;
}
blockquote, q {
     quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
     content: '';
     content: none;
}
table {
     border-collapse: collapse;
     border-spacing: 0;
}

/* /Reset -------------------------------------------------------------------------------------- */


/* Element-------------------------------------------------------------------------------------- */

body {color: white;
     background: #000000;
     font-family: Helvetica, arial, sans-serif;
     padding: 40px;
     }
h1 {font-size:60px;}
h2 {font-size:30px;}
p {font-size:16px;}

h1 {text-align:center;}

/*  /Element-------------------------------------------------------------------------------------- */

/*  Header-------------------------------------------------------------------------------------- */

header h1 {color: white;}
nav{
     background-color: #500a0a;
    
}

nav ul {
list-style-type: none;
margin:0;
padding: 0;

}
nav li {
	display: inline-block;
	margin-right: 40px;
}
nav a {
     display: block;
text-decoration: none;
	color: white;
padding: 15px}


/* /Header -----------------------------b--------------------------------------------------------- */

/* Content -------------------------------------------------------------------------------------- */
#content {
     margin: 40px 0;
     padding: 20px;
     background: white;
     border-radius: 9px;
     box-shadow: 5px 5px 5px rgba(0, 0, 0, .18);
}

#content img {
     float: left;margin-right: 20px; }

#content:after {
     content:"";
display: table;
clear: both;
}

#content h2 {color: #FFFFFF;}

/* /Content -------------------------------------------------------------------------------------- */

/*  Top Section -------------------------------------------------------------------------------------- */
#Badge img  
{
position:absolute;
right:5px;
top:0px;
z-index:-1;
}

#Logo img  
{
position:absolute;
left:15px;
top:0px;
z-index:-1;
}

#TopBanner img  
{
position:absolute;
right:50px;
top:0px;
z-index:-1;
}
/* /Top Section -------------------------------------------------------------------------------------- */
 
/*  Middle Section ----------------------------------------------------------------------------------- */

/* /Middle Section -------------------------------------------------------------------------------------- */

/*  Bottom Section -------------------------------------------------------------------------------------- */
#coupon {
  margin: auto;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  max-width: 277px;
  height: 320px;
}

#coupon form {
  background: #f0f0fd;
  background: rgba(240,240,253,0.90);
  padding: 22px 32px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  -moz-box-shadow: 0 0 18px rgba(0, 0, 0, 0.9);
  -webkit-box-shadow: 0 0 18px rgba(0, 0, 0, 0.9);
  -box-shadow: 0 0 18px rgba(0, 0, 0, 0.9);
}
/* /Bottom Section -------------------------------------------------------------------------------------- */

/*  Footer -------------------------------------------------------------------------------------- */
/* /Footer -------------------------------------------------------------------------------------- */ 
              
            
!

JS

              
                
              
            
!
999px

Console