Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ 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

Auto Save

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

              
                <head>
  <link href="https://fonts.googleapis.com/css?family=Codystar" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css?family=Coiny" rel="stylesheet">
</head>

<div id="box" >
  <h1>Aaliyah</h1>
</div>

<div id="box2" >
  <p class="texts rotate">RIP-RIP-RIP-RIPPED <span class="underline cheese ">Concert</span></p>
</div>

<div id="box2" class="shadow">
  <p class="texts"><span class="cheese">January 13</span><br><span class="underline">Anaheim, CA</span></p>
  <p class="texts"><span class="cheese">January 14</span><br><span class="underline">Los Angeles, CA</span></p>
  <p class="texts"><span class="cheese shadow">January 15</span><br><span class="underline">Costa Mesa, CA</span></p>

</div>

<div id="box4">
  <p class="details rotate">And if at first you don’t succeed Then dust yourself off and try again You can dust it off and try again 'Cause if at first you don’t succeed You can dust it off and try again Dust yourself off and try again</p>

</div>


<div id="bottom">
  
  <p>  Bottom texts will always be on top of everything else because this is fixed.</p>
</div>
              
            
!

CSS

              
                body{
  margin:0px;
  
}

h1{
font-family:'Codystar';
  font-size:10em;  
  text-align:center;
  text-transform:uppercase;
  color:blue;
 

}



#box{
  width:80%;
  margin-left:auto;
  margin-right:auto;
}



#box2{
  width:80%;
  margin-left:auto;
  margin-right:auto;
  margin-top:100px;
  padding:10px;
  border:10px solid blue;
}


#box3{
  width:80%;
  margin-left:auto;
  margin-right:auto;
  margin-top:20px;
  padding:10px;
  background-color:blue;
  border:10px solid black;
}



#box4{
  width:80%;
  margin-left:auto;
  margin-right:auto;
  padding:10px;
  height:500px;
  overflow:scroll;
  overflow-x:hidden;
  background-color:blue;
}



.texts{
  font-size:50px;
  text-align:center;
  font-family:'Coiny';

}


.details{
  font-size:4em;
  text-align:center;
  font-family:sans-serif;
color:white;
}



.cheese{
  background-color:yellow; 
}

.underline{
  border-bottom:3px dotted blue;
}


#box:hover{
  cursor:url(https://api.tumblr.com/v2/blog/queen-aaliyah.tumblr.com/avatar/128), auto;
}



#bottom{
  position:fixed;
  bottom:0;
  width:100%;
border-top:1px dotted black;  
}


.rotate{
transform: rotate(45deg);
}



.shadow{
  -webkit-box-shadow: 10px 10px 59px -2px rgba(0,0,0,0.51);
-moz-box-shadow: 10px 10px 59px -2px rgba(0,0,0,0.51);
box-shadow: 10px 10px 59px -2px rgba(0,0,0,0.51);
  
  
}
              
            
!

JS

              
                
              
            
!
999px

Console