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

              
                

<div id="vid">
  <iframe width="560" height="315" src="https://www.youtube.com/embed/YDvbDiJZpy0?start=13&controls=0&autoplay=1&mute=1" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"></iframe>
  
  </div><!-- vid -->

<div id="vidLid"></div>

<span class="nameTitle">Dan Bricklin</span>

<div class="aboutBlock">
  <span class="aboutTitle">Inventor of the Spreadsheet</span>
</div>

<div id="shtCntr">
  <div class="cellTop" style="left:20px;">A</div>
  <div class="cellTop op1" style="left:100px;">B</div>
  <div class="cellTop op1" style="left:180px;">C</div>
  <div class="cellTop op2" style="left:260px;">D</div>
  <div class="cellTop op3" style="left:340px;">E</div>
  <div class="cellTop op4" style="left:420px;">F</div>
  
  <div class="cellEdge" style="top:40px;">&nbsp;</div>
  <div class="cellEdge" style="top:55px;">1</div>
  <div class="cellEdge" style="top:70px;">2</div>
  <div class="cellEdge" style="top:85px;">3</div>
  <div class="cellEdge" style="top:100px;">4</div>
  <div class="cellEdge" style="top:115px;">5</div>
  <div class="cellEdge" style="top:130px;">6</div>
  <div class="cellEdge" style="top:145px;">7</div>
  <div class="cellEdge" style="top:160px;">8</div>
  
  <div class="cell" style="top:55px;left:20px">&nbsp;</div>
  <div class="cell op1" style="top:55px;left:100px">&nbsp;</div>
  <div class="cell op1" style="top:55px;left:180px">&nbsp;</div>
  <div class="cell op2" style="top:55px;left:260px">&nbsp;</div>
  <div class="cell op3" style="top:55px;left:340px">&nbsp;</div>
  <div class="cell op4" style="top:55px;left:420px">&nbsp;</div>
  
  <div class="cell" style="top:70px;left:20px">&nbsp;Went to MIT</div>
  <div class="cell op1" style="top:70px;left:100px">&nbsp;</div>
  <div class="cell op1" style="top:70px;left:180px">&nbsp;</div>
  <div class="cell op2" style="top:70px;left:260px">&nbsp;</div>
  <div class="cell op3" style="top:70px;left:340px">&nbsp;</div>
  <div class="cell op4" style="top:70px;left:420px">&nbsp;</div>
  
  <div class="cell" style="top:85px;left:20px">&nbsp;</div>
  <div class="cell op1" style="top:85px;left:100px">&nbsp;</div>
  <div class="cell op1" style="top:85px;left:180px">&nbsp;</div>
  <div class="cell op2" style="top:85px;left:260px">&nbsp;</div>
  <div class="cell op3" style="top:85px;left:340px">&nbsp;</div>
  <div class="cell op4" style="top:85px;left:420px">&nbsp;</div>
  
  <div class="cell" style="top:100px;left:20px">&nbsp;Worked at:</div>
  <div class="cell op1" style="top:100px;left:100px">&nbsp;DEC</div>
  <div class="cell op1" style="top:100px;left:180px">&nbsp;</div>
  <div class="cell op2" style="top:100px;left:260px">&nbsp;</div>
  <div class="cell op3" style="top:100px;left:340px">&nbsp;</div>
  <div class="cell op4" style="top:100px;left:420px">&nbsp;</div>
  
  <div class="cell" style="top:115px;left:20px">&nbsp;Went to:</div>
  <div class="cell op1" style="top:115px;left:100px">&nbsp;Harvard</div>
  <div class="cell op1" style="top:115px;left:180px">&nbsp;Business</div>
  <div class="cell op2" style="top:115px;left:260px">&nbsp;School</div>
  <div class="cell op3" style="top:115px;left:340px">&nbsp;</div>
  <div class="cell op4" style="top:115px;left:420px">&nbsp;</div>
  
  <div class="cell" style="top:130px;left:20px">&nbsp;</div>
  <div class="cell op1" style="top:130px;left:100px">&nbsp;</div>
  <div class="cell op1" style="top:130px;left:180px">&nbsp;</div>
  <div class="cell op2" style="top:130px;left:260px">&nbsp;</div>
  <div class="cell op3" style="top:130px;left:340px">&nbsp;</div>
  <div class="cell op4" style="top:130px;left:420px">&nbsp;</div>
  
  <div class="cell" style="top:145px;left:20px">&nbsp;Designed:</div>
  <div class="cell op1" style="top:145px;left:100px">&nbsp;VisiCalc!</div>
  <div class="cell op1" style="top:145px;left:180px">&nbsp;Shipped:</div>
  <div class="cell op2" style="top:145px;left:260px">&nbsp;Oct 1979</div>
  <div class="cell op3" style="top:145px;left:340px">&nbsp;</div>
  <div class="cell op4" style="top:145px;left:420px">&nbsp;</div>
  
  <div class="cell" style="top:160px;left:20px">&nbsp;</div>
  <div class="cell op1" style="top:160px;left:100px">&nbsp;</div>
  <div class="cell op1" style="top:160px;left:180px">&nbsp;</div>
  <div class="cell op2" style="top:160px;left:260px">&nbsp;</div>
  <div class="cell op3" style="top:160px;left:340px">&nbsp;</div>
  <div class="cell op4" style="top:160px;left:420px">&nbsp;</div>
</div><!-- shtCntr -->

<div class="imgFrm">
<img class="imgStuff" src="https://upload.wikimedia.org/wikipedia/commons/6/68/Wm2006-gm_dan_bricklin.jpg" width="360"/></div>

<div class="tmlnCntr">
  <ul>
    <li>Learned to program in 1966 (he was 15 years old at the time).</li>
    <li>He went to MIT.</li>
    <li>To make money he worked on the Multics project.</li>
    <li>After graduating from MIT, he went to work at Digital Equipment Corp. (DEC)
      <ul>
      <li>There he worked on software to do computerized typesetting.</li>
        <li>He also worked on DEC's first word processor.</li>
      </ul>
    </li>
    <li>He also worked on microproccessors for cash registers in the fast food industry.</li>
    <li>The fall of 1977, he entered the MBA program at Harvard Business School.</li>
    <li>He started playing around with the idea of software which would help him "run the numbers" in his business class. Could he create a "word processor" for working with numbers?</li>
    <li>He began working on a prototype in 1978.</li>
    <li>Dan got his friend Bob Frankston to do the coding for the actual program.</li>
    <li>October of 1979 <i>VisiCalc</i> was shipped... the first computer spreadsheet was born!</li>
  </ul>
  
  <div class="linkList">
    <b style="color:lightblue;">LINKS:</b>
    <br>
    &nbsp;&nbsp;&nbsp;<a href="https://www.ted.com/talks/dan_bricklin_meet_the_inventor_of_the_electronic_spreadsheet/discussion?c=192435" target="other">TED Video: <i>Dan Bricklin: Meet the inventor of the electronic spreadsheet</i></a><br>
    &nbsp;&nbsp;&nbsp;<a href="https://en.wikipedia.org/wiki/Dan_Bricklin" target="other">Dan Bricklin on Wikipedia</a><br>
    &nbsp;&nbsp;&nbsp;<a href="http://www.bricklin.com" target="other">Dan's Personal Website</a><br>
    &nbsp;&nbsp;&nbsp;<a href="https://en.wikipedia.org/wiki/Bob_Frankston" target="other">Bob Frankston on Wikipedia</a><br>
    &nbsp;&nbsp;&nbsp;<a href="https://www.frankston.com" target="other">Bob Frankston's Personal Website</a><br>
    
    <br>
  </div><!-- linkList -->
  <hr>
  
  
</div><!-- tmlnCntr -->

              
            
!

CSS

              
                
a {
  color:#e6e6ff;
}

a:VISITED {
  color:#e6e6ff;
}

body {
  font-family:tahoma;
  background-color:black;
}

/*
   final pos of name title:
   left:160px
   top:30px
 */
.nameTitle {
  color:#ffcc66;
  z-index:96;
  font-size:24pt;
  font-weight:bold;
  position:absolute;
  left:160px;
  top:-100px;
  text-shadow: 2px 2px #664400;
  animation-name: nameTitleDropin;
  animation-duration: 3s;
  animation-delay: .5s;
  animation-fill-mode:both;
}

@keyframes nameTitleDropin {
  from {background-color: red;}
  to {transform: translate(0px, 130px);}
}

/*
   final pos of about block:
    left: 380px;
    top: 30px;
 */
.aboutBlock {
  position:absolute;
  left:-660px;
  top:30px;
  width:280px;
  height:40px;
  background-color:#800000;
  opacity:.6;
  border-radius:4px;
  border:solid yellow 2px;
  z-index:80;
  animation-delay: 3s;
  animation-name: blockDropin;
  animation-duration: .5s;
  animation-fill-mode:both;
}

@keyframes blockDropin {
  from {background-color: red;}
  to {transform: translate(1040px, 0px);}
}



.aboutTitle {
  color:yellow;
  
  font-size:12pt;
  font-weight:bold;
  position:absolute;
  left:20px;
  top:10px;
  text-shadow: 2px 2px #664400;
}

/*
 final pos of image frame:
  left: 25px;
  top: 25px;
 */
.imgFrm {
  z-index:90;
  position:absolute;
  overflow:hidden;
  width:160px;
  height:160px;
  border:solid gray 3px;
  border-radius:80px;
  left:25px;
  top:-200px;
  animation-name: imageDropin;
  animation-duration: 1.5s;
  animation-fill-mode:both;
}

@keyframes imageDropin {
  from {background-color: red;}
  to {transform: translate(0px, 210px);}
}

/*
   final pos of image:
   left: -40px
   top:   0px;
 */
.imgStuff {
  position:absolute;
  left:-20px;
  top:-30px;
  animation-name: kenBurnsEffect;
  animation-duration: 4s;
  animation-fill-mode:both;
}

#vid {
  position:absolute;
  left:200px;
  top:50px;
}

#vidLid {
  position:absolute;
  left:200px;
  top:50px;
  width:560px;
  height:315px;
  background:white;
  opacity:0.01;
}

#shtCntr {
  position:absolute;
  z-index:80;
  left:60px;
  top:130px;
}

.cellTop {
  background-color:silver;
  width:80px;
  text-align:center;
  font-size:9pt;
  border:solid gray 1px;
  color:black;
  position:absolute;
  top:40px;
  cursor:s-resize;
}

.cellEdge {
  background-color:silver;
  width:30px;
  text-align:center;
  font-size:9pt;
  border:solid gray 1px;
  color:black;
  position:absolute;
  left:-11px;
  cursor:e-resize;
}

.cell {
  position:absolute;
  width:80px;
  background-color:white;
  font-size:9pt;
  border:solid gray 1px;
  overflow:hidden;
  cursor:cell;
}

.op1 {opacity:.7;}
.op2 {opacity:.5;}
.op3 {opacity:.4;}
.op4 {opacity:.3;}

.tmlnCntr {
  position:absolute;
  left:10px;
  top:400px;
  color:red;
  width:700px;
}

.linkList {
  margin-left:20px;
  padding-left:20px;
}

@keyframes kenBurnsEffect {
  from {background-color: red;}
  to {transform: translate(-20px, 30px);}
}

              
            
!

JS

              
                
              
            
!
999px

Console