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

              
                <body>

  <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>Panorama Box</title>
  </head>

  <div class="scene">
    <div class="cube spin">
   
<!-- Back Panel 5 -->

      <div class="cube__face cube__face--right" style="">
       
        <div class="row" style="">
          <div class="column left">
            <h1 class="title_box">Martha Tsigkari<br>& Dan Sibert</h1>
            <p class="timeslot">Back Panel 5</p>
            <p class="event_info">

            </p>

          </div>
          <div class="column right">
            <h1 class="date_box">FEB<br>08</h1>
          </div>
          </div>

      </div>
      
   <!-- End of Back Panel 5 -->

   
<!-- Back Panel 4 -->
      <div class="cube__face cube__face--back" style="margin-top:200px;">

       
 
<!--  You will need all these lines of code to run a background youtube-->
<div class="wrap">
  <div class="video-bg">
    <iframe src="https://www.youtube.com/embed/rqJDO3TWnac?autoplay=1&mute=1&start=440" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
  </div>
 
</div>

<!--  end of youtube bg -->





        
        
        
        
      </div>
   <!-- End of Back Panel 4 -->

      
   <!--  Back Panel 3 -->

      <div class="cube__face cube__face--left" style="">

        <div class="row" style="">
          <div class="column left">
            <h1 class="title_box">Anthony Cortez</h1>
            <p class="timeslot">Back Panel 3</p>
            <p class="event_info">
            </p>

          </div>
          <div class="column right">
            <h1 class="date_box">MAR<br>22</h1>
          </div>
        </div>
        
        <span style="font-size:500px;text-align:center;color:#ff3385;">W</span>
        
        
      </div>

      
      
  <!--  Back Panel 2 -->
 <div class="cube__face cube__face--top2" style="margin-top:;">

        <div class="row">
          <div class="column left">
            <h1 class="title_box">Jonsara Ruth</h1>
            <p class="timeslot">Back Panel 2</p>
            <p class="event_info">
            </p>
          </div>
          <div class="column right">
            <h1 class="date_box">APR<br>05</h1>
          </div>
        </div>

      </div>
   <!--  end of Back Panel 2 -->


      <!-- Back Panel 1 -->
      <div class="cube__face cube__face--top" style="margin-top:300px;">

        <div class="row">
          <div class="column left">
            <h1 class="title_box">Leigh Christy</h1>
            <p class="timeslot">Back Panel 1</p>
            <p class="event_info">
            </p>
          </div>
          <div class="column right">
            <h1 class="date_box">APR<br>12</h1>
          </div>
        </div>

      </div>
      
      <!-- Bottom Panel -->
      <div class="cube__face cube__face--bottom">
              
<style>
  
.wrap {
  position: relative;
  height: 100vh;
  -webkit-clip-path: polygon(49% 88%, 81% 45%, 31% 45%, 24% 67%, 59% 15%, 62% 83%, 79% 81%, 45% 58%, 87% 15%, 88% 25%, 88% 58%, 76% 9%, 76% 13%, 66% 17%, 25% 23%, 7% 41%, 4% 87%, 15% 88%, 21% 92%, 13% 24%, 38% 18%, 33% 87%, 64% 91%, 92% 92%, 98% 54%, 93% 7%, 47% 7%, 31% 7%, 8% 14%, 2% 67%, 24% 94%, 56% 6%);
clip-path: polygon(49% 88%, 81% 45%, 31% 45%, 24% 67%, 59% 15%, 62% 83%, 79% 81%, 45% 58%, 87% 15%, 88% 25%, 88% 58%, 76% 9%, 76% 13%, 66% 17%, 25% 23%, 7% 41%, 4% 87%, 15% 88%, 21% 92%, 13% 24%, 38% 18%, 33% 87%, 64% 91%, 92% 92%, 98% 54%, 93% 7%, 47% 7%, 31% 7%, 8% 14%, 2% 67%, 24% 94%, 56% 6%);
}

.video-bg {
  position: relative;
  height: 50%;
  background: #000;
  overflow: hidden;
}


.video-bg iframe {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 60vw;
}

.content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
}




</style>


<!--  You will need all these lines of code to run a background youtube-->
<div class="wrap">
  <div class="video-bg">
    <iframe src="https://www.youtube.com/embed/rqJDO3TWnac?autoplay=1&mute=1&start=440" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
  </div>
 
</div>

<!--  end of youtube bg -->




      </div>
        <!-- end of Bottom Panel -->


      
    </div>
    
    
  </div>

</body>
              
            
!

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:#D7D2CB;
  
}

.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;
}


/*---  overall panel style   ---*/


.cube__face {
  position: absolute;
  width: 500px;
  height: 500px;
  color:black;
  margin:10px;
  font-size:40px;
  text-align: left;
  border:0px solid black; /*---  borders are coming from here   ---*/



}




/*--- back panel 5 ---*/
.cube__face--right {
  background: ;
  transform: rotateY(0deg)  translateZ(-250px); /*--- pushes or pulles in z index ---*/
}

/*--- back panel 4  ---*/
.cube__face--back {
  background:  ;
  transform: rotateY(0deg) translateZ(-100px);
}

/*--- back panel 3 ---*/
.cube__face--left {
  background: ;
  transform: rotateY(0deg) translateZ(0px);
}



/*--- back panel 2  ---*/
.cube__face--top2 {
  background: ;
  transform: rotateY(0deg) translateZ(100px);
}




/*--- Back panel 1  ---*/
.cube__face--top {
  background:  ;
  transform: rotateY(0deg) translateZ(250px);
}



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


/*---  movement of the cube, 
rotateY = horizontal 
rotateX = vertical
---*/


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


  
  
  50% {
    transform: translateZ(900px) rotateX(-120deg) rotateY(90deg);
  }
  
 

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




/*---  big type bg   ---*/



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


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



/*---  typography   ---*/

.title_box{
  font-size:40px;
  line-height:45px;
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:23px;
line-height:29px;
margin:0px;
  letter-spacing:0px;
}

.timeslot{
font-size:19px;
 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