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

              
                <!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <meta http-equiv="X-UA-Compatible" content="ie=edge" />

  <title>Cube</title>
</head>

<body>
  <div class="scene">
    <div class="cube spin">
      <div class="cube__face cube__face--front">
       
      </div>

      <div class="cube__face cube__face--right" style="margin-top:0px;">
        <div class="row" style="border-bottom:solid white 1px;">
          <div class="column left">
            <h1 class="title_box">Projections</h1>
<p class="timeslot">6PM — 8PM</p>
            <p class="event_info">
              San Diego campus installation</br>
          San Diego Design Week
            </p>
          </div>
          <div class="column right">
            <h1 class="date_box">SEP<br>11</h1>
          </div>

        </div>
      </div>

      <div class="cube__face cube__face--back" style="margin-top:140px;">
        
         <div class="row" style="border-bottom:solid white 1px;">
          <div class="column left">
            <h1 class="title_box">Dr. Harriet Harriss</h1>
<p class="timeslot">12PM — 1:15PM</p>
            <p class="event_info">
              Dean, Pratt School of Architecture
            </p>
            
          </div>
          <div class="column right">
            <h1 class="date_box">SEP<br>21</h1>
          </div>

        </div>
        
       

      </div>

      <div class="cube__face cube__face--left" style="margin-top:250px;">

        <div class="row" style="border-bottom:solid white 1px;">
          <div class="column left">
            <p class="roundtable">Roundtable</p>
            <h1 class="title_box">Future of Work</h1><p class="timeslot">6:30PM</p>



            <p class="event_info">
              Panelists: German Aparicio, Wayne Thomas, Eera Babtiwale<br>

              Moderator: Kishani Da Silva
            </p>

          </div>
          <div class="column right">
            <h1 class="date_box">OCT<br>05</h1>
          </div>
        </div>
      </div>

      <div class="cube__face cube__face--top" style="margin-top:390px;">

        <div class="row">
          <div class="column left">
            <h1 class="title_box">Elizabeth Mahlow<br>Matthew Melnyk</h1>
<p class="timeslot">6:30PM</p>
            <p class="event_info">
            Principals of NOUS Engineering
            </p>
          </div>
          <div class="column right">
            <h1 class="date_box">NOV<br>17</h1>
          </div>
        </div>

      </div>
      <div class="cube__face cube__face--bottom">
        <img src="https://thehappening.us/wp-content/uploads/wsoa.png" width="100px" style="float:right;">
        <p style="font-size:1.4em;color:#0072CE;text-align:center;"><br>Year of Intelligence</p>
        <p style="font-size:0.6em;color:white;text-align:left;margin:15px;"><br><br><br><br><br>Fall 2021</p>

      </div>
    </div>
  </div>

  <div id="bar"><span class="big_type"></span></div>
</body>

</html>
              
            
!

CSS

              
                
@font-face {
    font-family: 'WSoAVEN';
    src: url('https://thehappening.us/wp-content/uploads/webfont/WSoAVEN.woff') format('woff');
    font-weight: 200;

}

body,
html {
  width: 100%;
  height: 100%;
  position: relative;
font-family: 'WSoAVEN';

}

body{
  background:black;
  
}

.scene {
  width: 500px;
  height: 500px;
  perspective: 900px;
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
}

.cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform: translateZ(100px);
  transform-style: preserve-3d;
}

.cube__face {
  position: absolute;
  width: 500px;
  height: 500px;
  color:white;
  margin:10px;
  font-size:40px;
  text-align: left;
}


/*---  top panel blue   ---*/
.cube__face--front {
  background: #0072ce;
  transform: rotateY(0deg) translateZ(-250px);
}

/*--- Dr Harriet  ---*/
.cube__face--right {
  background: ;
  transform: rotateY(0deg) translateZ(-120px);
}

/*--- alexis rivas etc   ---*/
.cube__face--back {
  background:  ;
  transform: rotateY(0deg) translateZ(0px);
}

/*--- Future of Work  ---*/
.cube__face--left {
  background: ;
  transform: rotateY(0deg) translateZ(120px);
}

/*--- Context, History, Ethics etc  ---*/
.cube__face--top {
  background: ;
  transform: rotateY(0deg) translateZ(250px);
}

/*---  bottom panel red   ---*/
.cube__face--bottom {
  background: #f9423a;
  padding:0px;
  transform: rotateX(-90deg) translateZ(250px);
}
 
.cube.spin {
  animation: spinCube 25s linear infinite;
}

@keyframes spinCube {
  0% {
    transform: translateZ(0px) rotateX(110deg) rotateY(40deg);
  }

  
  50% {
    transform: translateZ(0px) rotateX(-60deg) rotateY(-30deg);
  }
  
 

  100% {
    transform: translateZ(0px) rotateX(110deg) rotateY(40deg);
  }
}




/*---  big type bg   ---*/
#bar{
  width:100%;
  min-height:50px;
  z-index:-999999;
  top:40px;
  left:0;
    text-align:center;
  position:fixed;
  
}

.width_1000px{
  width:180px;
}

.p1{
  font-size:.7em;
  line-height:0.8em;
  margin:5px;
  padding:0px;
}


.pink{color:white;}
.blue{color:white;}



/*---  typography   ---*/

.title_box{
  font-size:30px;
  line-height:30px;
margin:0px 0px 5px 0px;
  letter-spacing:-1px;
  
    }

.date_box{
  font-size:28px;
  line-height:24px;
  text-align:center;
  margin:0px;
}


.event_info{
font-size:20px;
line-height:24px;
margin:0px;
  letter-spacing:0px;
}

.timeslot{
font-size:15px;
 line-height:19px;
margin:0px;
  letter-spacing:0px;
  text-align:left;
}


.roundtable{
 font-size:15px;
 line-height:16px;
margin:0px 0px 9px 0px;
}

hr{
    border-top: 1px solid white;
  margin:0px important;
}

h1{
  padding:0px;
  margin:0px;
}


.big_type{
color:black;
  font-size:5.9em !important;
  line-height:1.1em;
  letter-spacing:0px;
  text-align:center;
}
/*---  title & dates containter   ---*/




/* Create two unequal columns that floats next to each other */
.column {
  float: left;
 /* Should be removed. Only for demonstration */
}

.left {
  width: 85%;
}

.right {
  width: 15%;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}
              
            
!

JS

              
                
              
            
!
999px

Console